Index: jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fetchgroups/SimpleSerializeFetchGroupTests.java =================================================================== --- jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fetchgroups/SimpleSerializeFetchGroupTests.java (revision 7884) +++ jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fetchgroups/SimpleSerializeFetchGroupTests.java (working copy) @@ -788,6 +788,7 @@ } em = createEntityManager(); + beginTransaction(em); Query query = em.createQuery("SELECT e FROM Employee e WHERE e.id = "+id); FetchGroup fetchGroup = new FetchGroup("names"); fetchGroup.addAttribute("firstName"); @@ -802,7 +803,6 @@ Employee empSerialized; Employee empDeserialized; Employee empMerged; - beginTransaction(em); try { empSerialized = serialize(emp); Index: jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fieldaccess/fetchgroups/SimpleSerializeFetchGroupTests.java =================================================================== --- jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fieldaccess/fetchgroups/SimpleSerializeFetchGroupTests.java (revision 7884) +++ jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/fieldaccess/fetchgroups/SimpleSerializeFetchGroupTests.java (working copy) @@ -788,6 +788,7 @@ } em = createEntityManager("fieldaccess"); + beginTransaction(em); Query query = em.createQuery("SELECT e FROM Employee e WHERE e.id = "+id); FetchGroup fetchGroup = new FetchGroup("names"); fetchGroup.addAttribute("firstName"); @@ -802,7 +803,6 @@ Employee empSerialized; Employee empDeserialized; Employee empMerged; - beginTransaction(em); try { empSerialized = serialize(emp);