org.firebirdsql.jdbc
Class AbstractSavepoint
java.lang.Object
org.firebirdsql.jdbc.AbstractSavepoint
- FirebirdSavepoint
public abstract class AbstractSavepoint
extends java.lang.Object
Implementation of the
FirebirdSavepoint
interface. Subclasses might additionally implement
java.sql.Savepoint
interface.
SAVEPOINT_ID_PREFIX
public static final String SAVEPOINT_ID_PREFIX
AbstractSavepoint
public AbstractSavepoint(String name)
Create instance of this class for the specified name.
name
- name of the savepoint.
AbstractSavepoint
public AbstractSavepoint(int id)
Create instance of this class.
id
- ID of the savepoint.
equals
public boolean equals(Object obj)
Check if objects are equal. For unnamed savepoints their IDs are checked,
otherwise their names.
true
if obj
is equal to this object.
hashCode
public int hashCode()
Get hash code of this instance.
Copyright B) 2001 David Jencks and other authors. All rights reserved.