| Package | Description |
|---|---|
| java.sql | |
| javax.sql.rowset | |
| javax.sql.rowset.spi |
| 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 name)
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 savepoint)
Removes the specified
Savepoint and subsequent Savepoint objects from the current
transaction. |
void |
Connection.rollback(Savepoint savepoint)
Undoes all changes made after the given
Savepoint object
was set. |
| Modifier and Type | Method and Description |
|---|---|
void |
JdbcRowSet.rollback(Savepoint s)
Each
JdbcRowSet contains a Connection object from
the original ResultSet or JDBC properties passed to it. |
void |
CachedRowSet.rollback(Savepoint s)
Each
CachedRowSet object's SyncProvider contains
a Connection object from the original ResultSet
or JDBC properties passed to it. |
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionalWriter.rollback(Savepoint s)
Undoes all changes made in the current transaction made prior to the given
Savepoint object. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.