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:
parent
2473d0e184
commit
6483cfb3e5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue