| Package | Description |
|---|---|
| java.sql |
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java
TM 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.
|
| Modifier and Type | Method and Description |
|---|---|
Savepoint |
Connection.setSavepoint()
Creates an unnamed savepoint in the current transaction and returns the new
Savepoint object that represents it.
|
Savepoint |
Connection.setSavepoint(String
Creates a savepoint with the given name in the current transaction and returns the new
Savepoint object that represents it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.releaseSavepoint(Savepoint
Removes the specified
Savepoint and subsequent
Savepoint objects from the current transaction.
|
void |
Connection.rollback(Savepoint
Undoes all changes made after the given
Savepoint object was set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CachedRowSet.rollback(Savepoint
Each
CachedRowSet object's
SyncProvider contains a
Connection object from the original
ResultSet or JDBC properties passed to it.
|
void |
JdbcRowSet.rollback(Savepoint
Each
JdbcRowSet contains a
Connection object from the original
ResultSet or JDBC properties passed to it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionalWriter.rollback(Savepoint
Undoes all changes made in the current transaction made prior to the given
Savepoint object.
|