diff --git a/entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/EntityManagerSerializationTest.java b/entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/EntityManagerSerializationTest.java index ec48265b81..bbf407830d 100644 --- a/entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/EntityManagerSerializationTest.java +++ b/entitymanager/src/test/java/org/hibernate/ejb/test/ejb3configuration/EntityManagerSerializationTest.java @@ -32,10 +32,10 @@ public class EntityManagerSerializationTest extends org.hibernate.ejb.test.TestC stream.close(); ByteArrayInputStream byteIn = new ByteArrayInputStream( serialized ); ObjectInputStream in = new ObjectInputStream( byteIn ); - EntityManagerFactory seriallizedFactory = (EntityManagerFactory) in.readObject(); + EntityManagerFactory serializedFactory = (EntityManagerFactory) in.readObject(); in.close(); byteIn.close(); - EntityManager em = seriallizedFactory.createEntityManager(); + EntityManager em = serializedFactory.createEntityManager(); //em.getTransaction().begin(); //em.setFlushMode( FlushModeType.NEVER ); Cat cat = new Cat();