Skip to content

Most visited

Recently visited

navigation
Added in API level 1

Savepoint

public interface Savepoint

java.sql.Savepoint


A savepoint is an instant during the current transaction that can be utilized by a rollback via the rollback() command. Rolling back to a particular savepoint means that all changes that occurred after that savepoint are undone.

Summary

Public methods

abstract int getSavepointId()

Returns the constructed ID for this savepoint.

abstract String getSavepointName()

Returns the name for this savepoint.

Public methods

getSavepointId

Added in API level 1
int getSavepointId ()

Returns the constructed ID for this savepoint.

Returns
int the ID for this savepoint.
Throws
SQLException if an error occurrs accessing the database.

getSavepointName

Added in API level 1
String getSavepointName ()

Returns the name for this savepoint.

Returns
String the name of this savepoint.
Throws
SQLException if an error occurrs accessing the database.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.