From: <cl...@hy...> - 2008-09-12 04:11:05
|
Author: clee Date: 2008-09-11 21:10:56 -0700 (Thu, 11 Sep 2008) New Revision: 11113 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=11113 Modified: trunk/src/org/hyperic/hq/hibernate/SessionManager.java Log: Revert last change, I believe it's incorrect according to Hibernate documentation and code Modified: trunk/src/org/hyperic/hq/hibernate/SessionManager.java =================================================================== --- trunk/src/org/hyperic/hq/hibernate/SessionManager.java 2008-09-12 03:15:00 UTC (rev 11112) +++ trunk/src/org/hyperic/hq/hibernate/SessionManager.java 2008-09-12 04:10:56 UTC (rev 11113) @@ -100,7 +100,7 @@ } s = _factory.openSession(null, true, false, - ConnectionReleaseMode.AFTER_TRANSACTION); + ConnectionReleaseMode.AFTER_STATEMENT); // Start out sessions as read-only. They can be upgraded to // read-write if a transaction requires it |