当前页面:
在线文档首页 >
JBoss Seam 1.1.7 cr1 API 英文版文档
PersistenceProvider (JBoss Seam API Documentation) - JBoss Seam 1.1.7 cr1 API 英文版文档
org.jboss.seam.persistence
Class PersistenceProvider
java.lang.Object
org.jboss.seam.persistence.PersistenceProvider
- Direct Known Subclasses:
- HibernatePersistenceProvider
@Name(value="org.jboss.seam.persistence.persistenceProvider")
@Scope(value=STATELESS)
@Intercept(value=NEVER)
@Install(precedence=0,
genericDependencies=ManagedPersistenceContext.class)
public class PersistenceProvider
- extends Object
Abstraction layer for persistence providers (JPA implementations).
This class provides a working base implementation that can be
optimized for performance and non-standardized features by extending
and overriding the methods.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceProvider
public PersistenceProvider()
setFlushModeManual
public void setFlushModeManual(javax.persistence.EntityManager entityManager)
isDirty
public boolean isDirty(javax.persistence.EntityManager entityManager)
getId
public Object getId(Object bean,
javax.persistence.EntityManager entityManager)
enableFilter
public void enableFilter(Filter f,
javax.persistence.EntityManager entityManager)
instance
public static PersistenceProvider instance()