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.Savepoint
java.sql.SQLException
public java.lang.String getSavepointName() throws java.sql.SQLException
getSavepointName
in interface java.sql.Savepoint
java.sql.SQLException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to test.true
if obj
is equal to this object.public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.