public interface EntityManager extends EntityManager
Purpose: Defines the Interface for TopLink extensions to the EntityManager
EntityManager
Modifier and Type | Method and Description |
---|---|
Query |
createQuery(Expression expression,
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.
|
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.
|
clear, close, contains, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, find, flush, getDelegate, getFlushMode, getReference, getTransaction, isOpen, joinTransaction, lock, merge, persist, refresh, remove, setFlushMode
Session getActiveSession()
ServerSession getServerSession()
UnitOfWork getUnitOfWork()
Session getSession()
Query createQuery(Expression expression, Class resultType)
Copyright © 2024. All rights reserved.