class SavepointImpl
extends java.lang.Object
implements java.sql.Savepoint
| Modifier and Type | Field and Description |
|---|---|
private int |
id |
private java.lang.String |
name |
| Constructor and Description |
|---|
SavepointImpl(int id)
Constructs a savepoint with a specific identifier.
|
SavepointImpl(int id,
java.lang.String name)
Constructs a savepoint with a specific identifier and name.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
getId()
Returns the savepoint id.
|
int |
getSavepointId() |
java.lang.String |
getSavepointName() |
SavepointImpl(int id)
id - a savepoint identifierSavepointImpl(int id,
java.lang.String name)
id - a savepoint identifiername - the savepoint namepublic int getSavepointId()
throws java.sql.SQLException
getSavepointId in interface java.sql.Savepointjava.sql.SQLExceptionpublic java.lang.String getSavepointName()
throws java.sql.SQLException
getSavepointName in interface java.sql.Savepointjava.sql.SQLExceptionint getId()
getSavepointId().Generated on June 8 2013