public class FBSavepoint extends java.lang.Object implements FirebirdSavepoint
| Constructor and Description |
|---|
FBSavepoint(int savepointId)
Create instance of this class.
|
FBSavepoint(java.lang.String name)
Create instance of this class for the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Check if objects are equal.
|
int |
getSavepointId() |
java.lang.String |
getSavepointName() |
int |
hashCode() |
public FBSavepoint(int savepointId)
savepointId - ID of the savepoint.public FBSavepoint(java.lang.String name)
name - name of the savepoint.public int getSavepointId()
throws java.sql.SQLException
getSavepointId in interface java.sql.Savepointjava.sql.SQLExceptionpublic java.lang.String getSavepointName()
throws java.sql.SQLException
getSavepointName in interface java.sql.Savepointjava.sql.SQLExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - object to test.true if obj is equal to this object.public int hashCode()
hashCode in class java.lang.ObjectCopyright © 2001-2020 Jaybird (Firebird JDBC/JCA) team. All rights reserved.