# java.sql.Connection

Table 1. JDBC 3.0 Connection Methods Supported
Returns | Signature | Implementation Notes
--- | --- | ---
Savepoint | setSavepoint (String name) | Creates a savepoint with the given name in the current transaction and returns the new Savepoint object that represents it.
Savepoint | setSavepoint () | Creates an unnamed savepoint in the current transaction and returns the new Savepoint object that represents it.
void | releaseSavepoint (Savepoint savepoint) | Removes the given Savepoint object from the current transaction.
void | rollback(Savepoint savepoint) | Undoes all changes made after the given Savepoint object was set.

Parent topic: JDBC 3.0-only features
Related reference
java.sql.DatabaseMetaData
java.sql.ParameterMetaData
java.sql.PreparedStatement
java.sql.Savepoint
java.sql.Statement