java.sql.Savepoint interface java.sql.SavepointSavepoints (JDBC) Savepointssetting and rollong back

The Savepoint interface is new in JDBC 3.0. It contains new methods to set, release, or roll back a transaction to designated savepoints. Once a savepoint has been set, the transaction can be rolled back to that savepoint without affecting preceding work. Savepoints provide finer-grained control of transactions by marking intermediate points within a transaction.