Fix missing commit which was causing dangling connection/tx

This commit is contained in:
Christian Beikov 2022-01-19 15:42:14 +01:00
parent 8783781f7c
commit 36d6760abf
1 changed files with 1 additions and 0 deletions

View File

@ -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();