Create a new savepoint.
Public Overridable Sub CreateSavepoint( _
public virtual void
CreateSavepoint( string savepointName
- The name of the savepoint to create.
A savepoint object, to be passed into RollbackToSavepoint or ReleaseSavepoint.
You can roll back to a specific savepoint via RollbackToSavepoint, and explicitly release a savepoint that you don't need anymore via ReleaseSavepoint.
Note that most transaction managers will automatically release savepoints at transaction completion.
|| If the savepoint could not be created, either because the backend does not support it or because the transaction is not in an appropriate state.
AdoTransactionObjectSupport Class | Spring.Data.Support Namespace