public class FBSavepoint extends java.lang.Object implements java.sql.Savepoint, FirebirdSavepoint
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SAVEPOINT_ID_PREFIX |
Constructor and Description |
---|
FBSavepoint(int id)
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()
Get ID of the savepoint.
|
java.lang.String |
getSavepointName()
Get name of the savepoint.
|
int |
hashCode()
Get hash code of this instance.
|
public static final java.lang.String SAVEPOINT_ID_PREFIX
public FBSavepoint(int id)
id
- 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-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.