|
EclipseLink1.0 - 20080707 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 | |
|---|---|
javax.persistence.Query |
createDescriptorNamedQuery(java.lang.String queryName,
java.lang.Class descriptorClass)
This method will create a query object that wraps a EclipseLink Named Query. |
javax.persistence.Query |
createDescriptorNamedQuery(java.lang.String queryName,
java.lang.Class descriptorClass,
java.util.Vector argumentTypes)
This method will create a query object that wraps a EclipseLink Named Query. |
javax.persistence.Query |
createQuery(Expression expression,
java.lang.Class resultType)
This method is used to create a query using a EclipseLink Expression and the return type. |
Session |
getActiveSession()
This method returns the current session to the requester. |
ServerSession |
getServerSession()
Return the underlying server session |
Session |
getSession()
This method will return a Session outside of a transaction and null within a transaction. |
UnitOfWork |
getUnitOfWork()
This method will return the transactional UnitOfWork during the transaction and null outside of the transaction. |
| Methods inherited from interface javax.persistence.EntityManager |
|---|
clear, close, contains, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, find, flush, getDelegate, getFlushMode, getReference, getTransaction, isOpen, joinTransaction, lock, merge, persist, refresh, remove, setFlushMode |
| Method Detail |
|---|
Session getActiveSession()
ServerSession getServerSession()
UnitOfWork getUnitOfWork()
Session getSession()
javax.persistence.Query createQuery(Expression expression,
java.lang.Class resultType)
javax.persistence.Query createDescriptorNamedQuery(java.lang.String queryName,
java.lang.Class descriptorClass)
javax.persistence.Query createDescriptorNamedQuery(java.lang.String queryName,
java.lang.Class descriptorClass,
java.util.Vector argumentTypes)
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||