Top Fields Constructors Methods
org.jooq.tools.jdbc

public Class MockSavepoint

extends Object
implements Savepoint
Class Inheritance
All Implemented Interfaces
java.sql.Savepoint
Imports
java.sql.SQLException, .Savepoint

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

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

nameback to summary
private final String name

Constructor Detail

MockSavepointback to summary
pack-priv MockSavepoint()
MockSavepointback to summary
pack-priv MockSavepoint(String name)

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

Annotations
@Override
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

Annotations
@Override
Exceptions
SQLException:
if this is an un-named savepoint