|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.store.Store
public abstract class Store
Constructor Summary | |
---|---|
Store()
create a fresh transaction |
|
Store(Store store)
Use an existing transaction for cross store operations |
Method Summary | |
---|---|
void |
beginTrx()
Invoke transaction on the EntityManager |
void |
closeTrx()
Close current transaction Before close transaction, it needs to be committed. |
void |
commitTrx()
Commit current transaction |
boolean |
contains(Object entity)
|
String |
getConnection()
|
javax.persistence.EntityManager |
getEntityManager()
Return EntityManager |
String |
getFlushMode()
|
boolean |
isActive()
Check if transaction is active |
boolean |
isClosed()
|
boolean |
isDetached(Object o)
|
void |
rollbackTrx()
Rollback transaction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Store()
public Store(Store store)
Method Detail |
---|
public javax.persistence.EntityManager getEntityManager()
public void beginTrx()
public void commitTrx()
public void closeTrx()
public void rollbackTrx()
public boolean isActive()
public String getConnection()
public boolean isDetached(Object o)
public boolean isClosed()
public boolean contains(Object entity)
public String getFlushMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |