ANN-790 - Added a missing tx.commit()

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15682 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Juraci Krohling 2008-12-11 12:42:46 +00:00
parent 2473d0e184
commit 6483cfb3e5
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ public class ImmutableTest extends TestCase {
germany = (Country) s.get(Country.class, country.getId()); germany = (Country) s.get(Country.class, country.getId());
assertNotNull(germany); assertNotNull(germany);
assertEquals("Name should not have changed", "Germany", germany.getName()); assertEquals("Name should not have changed", "Germany", germany.getName());
tx.commit();
s.close(); s.close();
// // try deletion // // try deletion