Top Fields Constructors Methods
org.apache.derby.client.am

pack-priv Class ClientSavepoint

extends Object
implements Savepoint
Class Inheritance
All Implemented Interfaces
java.sql.Savepoint
Imports
org.apache.derby.shared.common.reference.SQLState, java.sql.SQLException, .Savepoint

Field Summary

Modifier and TypeField and Description
pack-priv Agent
private int
private String

Constructor Summary

AccessConstructor and Description
pack-priv
ClientSavepoint(Agent agent, String savepointName)

pack-priv
ClientSavepoint(Agent agent, int savepointId)

Method Summary

Modifier and TypeMethod and Description
public int
getSavepointId()

Implements java.sql.Savepoint.getSavepointId.

Retrieves the generated ID for the savepoint that this Savepoint object represents.
public String
getSavepointName()

Implements java.sql.Savepoint.getSavepointName.

Retrieves the name of the savepoint that this Savepoint object represents.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

agent_back to summary
pack-priv Agent agent_
savepointId_back to summary
private int savepointId_
savepointName_back to summary
private String savepointName_

Constructor Detail

ClientSavepointback to summary
pack-priv ClientSavepoint(Agent agent, String savepointName)
ClientSavepointback to summary
pack-priv ClientSavepoint(Agent agent, int savepointId)

Method Detail

getSavepointIdback to summary
public int getSavepointId() throws SQLException

Implements java.sql.Savepoint.getSavepointId.

Doc from java.sql.Savepoint.getSavepointId.

Retrieves the generated ID for the savepoint that this Savepoint object represents.

Returns:int

the numeric ID of this savepoint

Exceptions
SQLException:
if this is a named savepoint
getSavepointNameback to summary
public String getSavepointName() throws SQLException

Implements java.sql.Savepoint.getSavepointName.

Doc from java.sql.Savepoint.getSavepointName.

Retrieves the name of the savepoint that this Savepoint object represents.

Returns:String

the name of this savepoint

Exceptions
SQLException:
if this is an un-named savepoint