Create a new savepoint.
Public Sub CreateSavepoint( _
- 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.
ISavepointManager Interface | Spring.Transaction Namespace