|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="6.2", sinceVersion="4.2") public interface ITransactionJPA
The transaction interface for when the transaction is backed up by JPA.
Method Summary | |
---|---|
EntityManager |
getEntityManager()
Returns the default entity manager for this transaction. |
EntityManager |
getEntityManager(String databaseId)
Returns the entity manager associated with the specified database. |
Methods inherited from interface lumis.util.ITransaction |
---|
addObserver, begin, commit, dispose, getAttribute, getByConnectionId, isActive, removeAttribute, removeObserver, rollback, setAttribute |
Method Detail |
---|
EntityManager getEntityManager()
EntityManager getEntityManager(String databaseId)
databaseId
- the database id.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |