|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.firebirdsql.jdbc.FBSavepoint
public class FBSavepoint
Savepoint implementation.
Field Summary | |
---|---|
static java.lang.String |
SAVEPOINT_ID_PREFIX
|
Constructor Summary | |
---|---|
FBSavepoint(int id)
Create instance of this class. |
|
FBSavepoint(java.lang.String name)
Create instance of this class for the specified name. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SAVEPOINT_ID_PREFIX
Constructor Detail |
---|
public FBSavepoint(int id)
id
- ID of the savepoint.public FBSavepoint(java.lang.String name)
name
- name of the savepoint.Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |