HHH-5592 org.hibernate.test.naturalid.immutable.ImmutableNaturalIdTest hangs on postgresql

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20697 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-09-25 05:53:53 +00:00
parent 998ef3d98a
commit ab9bf1dd0c

View File

@ -233,7 +233,7 @@ public void testNaturalIdRecreateUsingCache() {
assertEquals( getSessions().getStatistics().getQueryCachePutCount(), 1 );
getSessions().getStatistics().clear();
s.getTransaction().commit();
s = openSession();
s.beginTransaction();
u = ( User ) s.createCriteria( User.class )