| java.lang.Object org.apache.derby.impl.jdbc.ConnectionChild org.apache.derby.impl.jdbc.EmbedSavepoint30
EmbedSavepoint30 | final class EmbedSavepoint30 extends ConnectionChild implements Savepoint(Code) | | This class implements the Savepoint interface from JDBC3.0
This allows to set, release, or rollback a transaction to
designated Savepoints. Savepoints provide finer-grained
control of transactions by marking intermediate points within
a transaction. Once a savepoint has been set, the transaction
can be rolled back to that savepoint without affecting preceding work.
Supports
- JSR169 - no subsetting for java.sql.Savepoint
- JDBC 3.0 - class introduced in JDBC 3.0
See Also: java.sql.Savepoint |
getSavepointId | public int getSavepointId() throws SQLException(Code) | | Retrieves the generated ID for the savepoint that this Savepoint object
represents.
the numeric ID of this savepoint exception: SQLException - if this is a named savepoint |
getSavepointName | public String getSavepointName() throws SQLException(Code) | | Retrieves the name of the savepoint that this Savepoint object
represents.
the name of this savepoint exception: SQLException - if this is an un-named savepoint |
|
|