Fix missing commit which was causing dangling connection/tx
This commit is contained in:
parent
8783781f7c
commit
36d6760abf
|
@ -103,6 +103,7 @@ public class FormulaJoinTest extends BaseCoreFunctionalTestCase {
|
|||
tx = s.beginTransaction();
|
||||
l = s.createQuery("from Detail d join fetch d.currentRoot.root m join fetch m.detail").list();
|
||||
assertEquals( l.size(), 2 );
|
||||
tx.commit();
|
||||
|
||||
s = openSession();
|
||||
tx = s.beginTransaction();
|
||||
|
|
Loading…
Reference in New Issue