| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.jdbc.kernel.AbstractJDBCSavepointManager
public abstract class AbstractJDBCSavepointManager
Abstract SavepointManager implementation that
 delegates to the subclass for savepoint operations on the active
 Connection. This implementation issues a flush and relies
 on the driver/db to restore back to the flushed state.
| Nested Class Summary | |
|---|---|
| protected  class | AbstractJDBCSavepointManager.ConnectionSavepointA savepoint which provides access to the current transactional connection. | 
| Constructor Summary | |
|---|---|
| AbstractJDBCSavepointManager() | |
| Method Summary | |
|---|---|
|  void | endConfiguration() | 
|  boolean | getRestoreFieldState()Return whether to retain in-memory copies of field values for restore on rollback. | 
|  OpenJPASavepoint | newSavepoint(java.lang.String name,
             Broker broker) | 
| protected abstract  void | rollbackDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)Rollback the datastore savepoint. | 
|  void | setConfiguration(Configuration conf) | 
| protected abstract  void | setDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)Set the datastore savepoint. | 
|  void | setRestoreFieldState(boolean restore)Set whether to retain in-memory copies of field values for restore on rollback. | 
|  void | startConfiguration() | 
|  boolean | supportsIncrementalFlush() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractJDBCSavepointManager()
| Method Detail | 
|---|
public void startConfiguration()
startConfiguration in interface Configurablepublic void setConfiguration(Configuration conf)
setConfiguration in interface Configurablepublic void endConfiguration()
endConfiguration in interface Configurablepublic boolean getRestoreFieldState()
public void setRestoreFieldState(boolean restore)
OpenJPAConfiguration.getRestoreState().
public OpenJPASavepoint newSavepoint(java.lang.String name,
                                     Broker broker)
newSavepoint in interface SavepointManagerpublic boolean supportsIncrementalFlush()
supportsIncrementalFlush in interface SavepointManagerprotected abstract void rollbackDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)
protected abstract void setDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||