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();
|
tx = s.beginTransaction();
|
||||||
l = s.createQuery("from Detail d join fetch d.currentRoot.root m join fetch m.detail").list();
|
l = s.createQuery("from Detail d join fetch d.currentRoot.root m join fetch m.detail").list();
|
||||||
assertEquals( l.size(), 2 );
|
assertEquals( l.size(), 2 );
|
||||||
|
tx.commit();
|
||||||
|
|
||||||
s = openSession();
|
s = openSession();
|
||||||
tx = s.beginTransaction();
|
tx = s.beginTransaction();
|
||||||
|
|
Loading…
Reference in New Issue