|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Purpose: Defines the Interface for TopLink extensions to the EntityManager
EntityManager
Method Summary | |
Query |
createQuery(Expression expression, java.lang.Class resultType) This method is used to create a query using a Toplink Expression and the return type. |
Session |
getActiveSession() This method returns the current session to the requestor. |
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 oracle.toplink.sessions.entitymanager.EntityManager |
close, contains, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, find, find, flush, getUserTransaction, isOpen, merge, persist, refresh, remove |
Method Detail |
public Session getActiveSession()
public UnitOfWork getUnitOfWork()
public Session getSession()
public Query createQuery(Expression expression, java.lang.Class resultType)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |