|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CayenneEntityManager
An interface that allows to access Cayenne runtime hidden behind standard JPA classes. To do that, simply cast an EntityManager returned by Cayenne provider to "CayenneEntityManager". Note that a regular JPA application shouldn't normally attempt to do that. Otherwise it will not be portable across JPA providers.
Method Summary | |
---|---|
DataChannel |
getChannel()
Returns a Cayenne DataChannel that is used to link EntityManager with
Cayenne runtime. |
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 |
---|
DataChannel getChannel()
DataChannel
that is used to link EntityManager with
Cayenne runtime. DataChannel can be used for instance to obtain Cayenne metadata or
add listeners.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |