protected class AbstractJDBCSavepointManager.ConnectionSavepoint extends OpenJPASavepoint
| Constructor and Description |
|---|
ConnectionSavepoint(Broker broker,
String name,
boolean copy) |
| Modifier and Type | Method and Description |
|---|---|
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
OpenJPAStateManagers as necessary. |
void |
setDataStoreSavepoint(Object savepoint)
Set the implementation specific savepoint object
|
getBroker, getCopyFieldState, getName, getStates, releasepublic Object getDataStoreSavepoint()
public void setDataStoreSavepoint(Object savepoint)
public Connection getConnection()
Connection for this savepoint.public Collection rollback(Collection previous)
OpenJPASavepointrollback in class OpenJPASavepointprevious - previous savepoints set in the transactionpublic void save(Collection states)
OpenJPASavepointOpenJPAStateManagers as necessary.save in class OpenJPASavepointCopyright © 2006–2022 Apache Software Foundation. All rights reserved.