Uses of Interface
java.sql.Savepoint
| Package | Description |
|---|---|
| java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java™ programming language.
|
| javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet
implementations. |
| javax.sql.rowset.spi |
The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
|
-
Uses of Savepoint in java.sql
Methods in java.sql that return Savepoint Modifier and Type Method Description SavepointConnection. setSavepoint()Creates an unnamed savepoint in the current transaction and returns the newSavepointobject that represents it.SavepointConnection. setSavepoint(String name)Creates a savepoint with the given name in the current transaction and returns the newSavepointobject that represents it.Methods in java.sql with parameters of type Savepoint Modifier and Type Method Description voidConnection. releaseSavepoint(Savepoint savepoint)Removes the specifiedSavepointand subsequentSavepointobjects from the current transaction.voidConnection. rollback(Savepoint savepoint)Undoes all changes made after the givenSavepointobject was set. -
Uses of Savepoint in javax.sql.rowset
Methods in javax.sql.rowset with parameters of type Savepoint Modifier and Type Method Description voidCachedRowSet. rollback(Savepoint s)EachCachedRowSetobject'sSyncProvidercontains aConnectionobject from the originalResultSetor JDBC properties passed to it.voidJdbcRowSet. rollback(Savepoint s)EachJdbcRowSetcontains aConnectionobject from the originalResultSetor JDBC properties passed to it. -
Uses of Savepoint in javax.sql.rowset.spi
Methods in javax.sql.rowset.spi with parameters of type Savepoint Modifier and Type Method Description voidTransactionalWriter. rollback(Savepoint s)Undoes all changes made in the current transaction made prior to the givenSavepointobject.