Typo in test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19599 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Emmanuel Bernard 2010-05-25 13:06:51 +00:00
parent 0d7932c748
commit 85e15cfbdf
1 changed files with 2 additions and 2 deletions

View File

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