Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[NOVICE] Lock and unlock registry

From: carlos gustavo <cgcl.comp(at)gmail.com>
Date: Fri Nov 16 2007 - 12:32:58 EST


Hello,

My problem:
1. I have a application accessing Postgres 8.2 using NHibernate 3. 2. Using hibernate I lock a registry using the function ' nhibernate.lockmode.upgradenowait'. Ok, its worked. 3. I remove my ethernet cable and lost the connection with Postgres. 4. The registry I locked before remove the cable, continue locked forever!

Question:
How can Postgres detect the connection lost and remove all locks made by this connection? It's a configuration in Postgres or have another way to lock a registry?

Thanks. Received on Fri Nov 16 12:33:37 2007

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 00:04:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library