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
public class JDBC3SavepointManager extends AbstractJDBCSavepointManager
SavepointManager
implementation that uses JDBC 3 savepoints to store state. This plugin has the side effect of triggering a flush on theBroker
. 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
Constructors Constructor Description JDBC3SavepointManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
rollbackDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)
Rollback the datastore savepoint.protected void
setDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)
Set the datastore savepoint.-
Methods inherited from class org.apache.openjpa.jdbc.kernel.AbstractJDBCSavepointManager
endConfiguration, getRestoreFieldState, newSavepoint, setConfiguration, setRestoreFieldState, startConfiguration, supportsIncrementalFlush
-
-
-
-
Method Detail
-
rollbackDataStore
protected void rollbackDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)
Description copied from class:AbstractJDBCSavepointManager
Rollback the datastore savepoint.- Specified by:
rollbackDataStore
in classAbstractJDBCSavepointManager
-
setDataStore
protected void setDataStore(AbstractJDBCSavepointManager.ConnectionSavepoint savepoint)
Description copied from class:AbstractJDBCSavepointManager
Set the datastore savepoint.- Specified by:
setDataStore
in classAbstractJDBCSavepointManager
-
-