@ Override public synchronized void savepoint ( String name ) { int index = sessionContext . savepoints . getIndex ( name ) ; if ( index != - 1 ) { sessionContext . savepoints . remove ( name ) ; sessionContext . savepointTimestamps . remove ( index ) ; } sessionContext . savepoints . add ( name , ValuePool . getInt ( rowActionList . size ( ) ) ) ; sessionContext . savepointTimestamps . addLast ( actionTimestamp ) ; try { database . logger . writeToLog ( this , getSavepointSQL ( name ) ) ; } catch ( HsqlException e ) { } }
Registers a transaction SAVEPOINT . A new SAVEPOINT with the name of an existing one replaces the old SAVEPOINT .