Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
public interface

Savepoint

java.sql.Savepoint

Class Overview

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

public abstract int getSavepointId ()

Added in API level 1

Returns the constructed ID for this savepoint.

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

public abstract String getSavepointName ()

Added in API level 1

Returns the name for this savepoint.

Returns
  • the name of this savepoint.
Throws
SQLException if an error occurrs accessing the database.