Fix issues in PackagedEntityManagerTest

This commit is contained in:
Christian Beikov 2021-03-25 11:57:29 +01:00
parent 9612c838ed
commit 9c175d0de2
1 changed files with 0 additions and 3 deletions

View File

@ -285,7 +285,6 @@ public class PackagedEntityManagerTest extends PackagingTestCase {
TransactionUtil.doInJPA( () -> emf, em -> {
org.hibernate.jpa.test.pack.overridenpar.Bug bug = new org.hibernate.jpa.test.pack.overridenpar.Bug();
bug.setSubject( "Allow DS overriding" );
em.getTransaction().begin();
em.persist( bug );
em.flush();
em.remove( bug );
@ -446,7 +445,6 @@ public class PackagedEntityManagerTest extends PackagingTestCase {
Scooter s = new Scooter();
s.setModel( "Abadah" );
s.setSpeed( 85l );
em.getTransaction().begin();
em.persist( s );
return s;
} );
@ -468,7 +466,6 @@ public class PackagedEntityManagerTest extends PackagingTestCase {
seat.setNumber( "3B" );
Airplane plane = new Airplane();
plane.setSerialNumber( "75924418409052355" );
em.getTransaction().begin();
em.persist( seat );
em.persist( plane );
em.flush();