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:
parent
0d7932c748
commit
85e15cfbdf
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue