Package org.firebirdsql.jdbc
Class FBSavepoint
- java.lang.Object
- 
- org.firebirdsql.jdbc.FBSavepoint
 
- 
- All Implemented Interfaces:
- java.sql.Savepoint,- FirebirdSavepoint
 
 public class FBSavepoint extends java.lang.Object implements FirebirdSavepoint Savepoint implementation.- Author:
- Roman Rokytskyy
 
- 
- 
Constructor SummaryConstructors Constructor Description FBSavepoint(int savepointId)Create instance of this class.FBSavepoint(java.lang.String name)Create instance of this class for the specified name.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Check if objects are equal.intgetSavepointId()java.lang.StringgetSavepointName()inthashCode()
 
- 
- 
- 
Method Detail- 
getSavepointIdpublic int getSavepointId() throws java.sql.SQLException- Specified by:
- getSavepointIdin interface- java.sql.Savepoint
- Throws:
- java.sql.SQLException
 
 - 
getSavepointNamepublic java.lang.String getSavepointName() throws java.sql.SQLException- Specified by:
- getSavepointNamein interface- java.sql.Savepoint
- Throws:
- java.sql.SQLException
 
 - 
equalspublic boolean equals(java.lang.Object obj) Check if objects are equal. For unnamed savepoints their IDs are checked, otherwise their names.- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- obj- object to test.
- Returns:
- trueif- objis equal to this object.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-