I am having the same issue. Unless we close the connection or do a
connection.commit(), the AccessShareLock is not getting released.
ResultSet.close() and PreparedStatement.close() is not having any effect on this
behavior. Is this the expected behavior ?
In response to
- Locking at 2008-04-19 00:09:14 from Sacauskis, Mike
pgsql-jdbc by date
|Next:||From: Sez Sez||Date: 2012-04-05 11:55:51|
|Previous:||From: Bernd Helmle||Date: 2012-04-05 08:54:38|
|Subject: prepareTreshold=0 vs. transaction control commands|