|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JpaEntityManager
Purpose: Defines the Interface for EclipseLink extensions to the EntityManager
EntityManager
Method Summary | |
---|---|
java.lang.Object |
copy(java.lang.Object entityOrEntities,
AttributeGroup group)
This method will return copy the passed entity using the passed AttributeGroup. |
Query |
createDescriptorNamedQuery(java.lang.String queryName,
java.lang.Class descriptorClass)
This method will create a query object that wraps a EclipseLink Named Query. |
Query |
createDescriptorNamedQuery(java.lang.String queryName,
java.lang.Class descriptorClass,
java.util.List argumentTypes)
This method will create a query object that wraps a EclipseLink Named Query. |
Query |
createQuery(Call call)
This method is used to create a query using a EclipseLink Call. |
Query |
createQuery(Call call,
java.lang.Class entityClass)
This method is used to create a query using a EclipseLink Call for the entity class. |
Query |
createQuery(DatabaseQuery query)
This method is used to create a query using a EclipseLink DatabaseQuery. |
Query |
createQuery(Expression expression,
java.lang.Class entityClass)
This method is used to create a query using a EclipseLink Expression for the entity class. |
Query |
createQueryByExample(java.lang.Object exampleObject)
This method is used to create a query using query by example. |
Session |
getActiveSession()
This method returns the current session to the requester. |
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl |
getDatabaseSession()
Return the underlying database session |
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl |
getMemberDatabaseSession(java.lang.Class cls)
Return the member DatabaseSessionImpl that maps cls in session broker. |
ServerSession |
getMemberServerSession(java.lang.Class cls)
Return the member ServerSession that maps cls in session broker. |
java.lang.String |
getMemberSessionName(java.lang.Class cls)
Return the name of member session that maps cls. |
ServerSession |
getServerSession()
Return the underlying server session |
Session |
getSession()
This method will return a Session outside of a transaction and null within a transaction. |
SessionBroker |
getSessionBroker()
Return the underlying session broker |
UnitOfWork |
getUnitOfWork()
This method will return the transactional UnitOfWork during the transaction and null outside of the transaction. |
boolean |
isBroker()
Indicates whether the underlying session is a session broker. |
void |
load(java.lang.Object entityOrEntities,
AttributeGroup group)
This method will load the passed entity or collection of entities using the passed AttributeGroup. |
Methods inherited from interface javax.persistence.EntityManager |
---|
clear, close, contains, createNamedQuery, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, detach, find, find, find, find, flush, getCriteriaBuilder, getDelegate, getEntityManagerFactory, getFlushMode, getLockMode, getMetamodel, getProperties, getReference, getTransaction, isOpen, joinTransaction, lock, lock, merge, persist, refresh, refresh, refresh, refresh, remove, setFlushMode, setProperty, unwrap |
Method Detail |
---|
Session getActiveSession()
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl getDatabaseSession()
ServerSession getServerSession()
SessionBroker getSessionBroker()
org.eclipse.persistence.internal.sessions.DatabaseSessionImpl getMemberDatabaseSession(java.lang.Class cls)
ServerSession getMemberServerSession(java.lang.Class cls)
java.lang.String getMemberSessionName(java.lang.Class cls)
boolean isBroker()
UnitOfWork getUnitOfWork()
Session getSession()
Query createQuery(Expression expression, java.lang.Class entityClass)
Query createQuery(DatabaseQuery query)
Query createQuery(Call call)
Query createQuery(Call call, java.lang.Class entityClass)
Query createQueryByExample(java.lang.Object exampleObject)
Query createDescriptorNamedQuery(java.lang.String queryName, java.lang.Class descriptorClass)
Query createDescriptorNamedQuery(java.lang.String queryName, java.lang.Class descriptorClass, java.util.List argumentTypes)
void load(java.lang.Object entityOrEntities, AttributeGroup group)
java.lang.Object copy(java.lang.Object entityOrEntities, AttributeGroup group)
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |