net.sf.easyweb4j.repository.orm.jpa
Class EntityManagerProvider
java.lang.Object
net.sf.easyweb4j.repository.orm.jpa.EntityManagerProvider
- All Implemented Interfaces:
- Serializable
public class EntityManagerProvider
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityManagerProvider
public EntityManagerProvider(javax.persistence.EntityManagerFactory entityManagerFactory)
bindEntityManager
public void bindEntityManager()
unbindEntityManager
public void unbindEntityManager()
getCurrentEntityManager
public javax.persistence.EntityManager getCurrentEntityManager()
ensureTransaction
public void ensureTransaction()
commitTransaction
public void commitTransaction()
rollbackTransaction
public void rollbackTransaction()
closeFactory
public void closeFactory()
markAsReadOnly
public void markAsReadOnly()
Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.