加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218033232/http://developer.android.com:80/reference/java/sql/Savepoint.html
public interface

Savepoint

java.sql.Savepoint

Class Overview

A Savepoint is an instant during the current transaction that can be utilized by a Rollback from the Connection.rollback method. Rolling back to a particular Savepoint means that all changes that occurred after that Savepoint are removed.

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 ()

Returns the constructed ID for this Savepoint.

Returns
  • the ID for this Savepoint.
Throws
SQLException

public abstract String getSavepointName ()

Returns the name for this Savepoint.

Returns
  • the name of this Savepoint.
Throws
SQLException