|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.kernel.OpenJPASavepoint
org.apache.openjpa.jdbc.kernel.AbstractJDBCSavepointManager.ConnectionSavepoint
protected class AbstractJDBCSavepointManager.ConnectionSavepoint
A savepoint which provides access to the current transactional connection.
Constructor Summary | |
---|---|
AbstractJDBCSavepointManager.ConnectionSavepoint(Broker broker,
String name,
boolean copy)
|
Method Summary | |
---|---|
Connection |
getConnection()
Return the current Connection for this savepoint. |
Object |
getDataStoreSavepoint()
Return the stored savepoint object |
Collection |
rollback(Collection previous)
Handle the rolled back state, returning saved data. |
void |
save(Collection states)
Set this savepoint, saving any state for the passed-in OpenJPAStateManager s as necessary. |
void |
setDataStoreSavepoint(Object savepoint)
Set the implementation specific savepoint object |
Methods inherited from class org.apache.openjpa.kernel.OpenJPASavepoint |
---|
getBroker, getCopyFieldState, getName, getStates, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractJDBCSavepointManager.ConnectionSavepoint(Broker broker, String name, boolean copy)
Method Detail |
---|
public Object getDataStoreSavepoint()
public void setDataStoreSavepoint(Object savepoint)
public Connection getConnection()
Connection
for this savepoint.
public Collection rollback(Collection previous)
OpenJPASavepoint
rollback
in class OpenJPASavepoint
previous
- previous savepoints set in the transactionpublic void save(Collection states)
OpenJPASavepoint
OpenJPAStateManager
s as necessary.
save
in class OpenJPASavepoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.