Package org.firebirdsql.jdbc
Class FBSavepoint
java.lang.Object
org.firebirdsql.jdbc.FBSavepoint
- All Implemented Interfaces:
Savepoint,FirebirdSavepoint
Savepoint implementation.
- Author:
- Roman Rokytskyy
-
Constructor Summary
ConstructorsConstructorDescriptionFBSavepoint(int savepointId) Create instance of this class.FBSavepoint(String name) Create instance of this class for the specified name. -
Method Summary
-
Constructor Details
-
FBSavepoint
public FBSavepoint(int savepointId) Create instance of this class.- Parameters:
savepointId- ID of the savepoint.
-
FBSavepoint
Create instance of this class for the specified name.- Parameters:
name- name of the savepoint.
-
-
Method Details
-
getSavepointId
- Specified by:
getSavepointIdin interfaceSavepoint- Throws:
SQLException
-
getSavepointName
- Specified by:
getSavepointNamein interfaceSavepoint- Throws:
SQLException
-
equals
Check if objects are equal. For unnamed savepoints their IDs are checked, otherwise their names. -
hashCode
public int hashCode()
-