Package org.apache.openjpa.jdbc.kernel
Class JDBC3SavepointManager
java.lang.Object
org.apache.openjpa.jdbc.kernel.AbstractJDBCSavepointManager
org.apache.openjpa.jdbc.kernel.JDBC3SavepointManager
- All Implemented Interfaces:
SavepointManager
,Configurable
SavepointManager
implementation that uses JDBC 3 savepoints
to store state. This plugin has the side effect of triggering
a flush on the Broker
.
Note that this plugin requires a database and JDBC driver which
supports JDBC 3 savepoints- Since:
- 0.3.4
- Author:
- Steve Kim
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.openjpa.jdbc.kernel.AbstractJDBCSavepointManager
AbstractJDBCSavepointManager.ConnectionSavepoint
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Rollback the datastore savepoint.protected void
Set the datastore savepoint.Methods inherited from class org.apache.openjpa.jdbc.kernel.AbstractJDBCSavepointManager
endConfiguration, getRestoreFieldState, newSavepoint, setConfiguration, setRestoreFieldState, startConfiguration, supportsIncrementalFlush
-
Constructor Details
-
JDBC3SavepointManager
public JDBC3SavepointManager()
-
-
Method Details
-
rollbackDataStore
Description copied from class:AbstractJDBCSavepointManager
Rollback the datastore savepoint.- Specified by:
rollbackDataStore
in classAbstractJDBCSavepointManager
-
setDataStore
Description copied from class:AbstractJDBCSavepointManager
Set the datastore savepoint.- Specified by:
setDataStore
in classAbstractJDBCSavepointManager
-