mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
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 void testImmutableEntity() throws Exception {
|
||||
germany = (Country) s.get(Country.class, country.getId());
|
||||
assertNotNull(germany);
|
||||
assertEquals("Name should not have changed", "Germany", germany.getName());
|
||||
tx.commit();
|
||||
s.close();
|
||||
|
||||
// // try deletion
|
||||
|
Loading…
x
Reference in New Issue
Block a user