org.firebirdsql.jdbc
Interface FirebirdSavepoint
- All Known Implementing Classes:
- AbstractSavepoint
- public interface FirebirdSavepoint
Savepoint interface, corresponds to the java.sql.Savepoint
interface defined in JDBC 3.0, but can be used in JDBC 2.0 applications.
Method Summary |
int |
getSavepointId()
Retrieves the generated ID for the savepoint that this
Savepoint object represents. |
java.lang.String |
getSavepointName()
Retrieves the name of the savepoint that this Savepoint
object represents. |
getSavepointId
public int getSavepointId()
throws java.sql.SQLException
- Retrieves the generated ID for the savepoint that this
Savepoint
object represents.
- Returns:
- the numeric ID of this savepoint
- Throws:
java.sql.SQLException
- if this is a named savepoint
getSavepointName
public java.lang.String getSavepointName()
throws java.sql.SQLException
- Retrieves the name of the savepoint that this
Savepoint
object represents.
- Returns:
- the name of this savepoint
- Throws:
java.sql.SQLException
- if this is an un-named savepoint
Copyright © 2001 David Jencks and other authors. All rights reserved.