官术网_书友最值得收藏!

Savepoint Interface

Savepoint is a new interface in JDBC 3.0 specification. A Savepoint is a point within a transaction up to which the changes made in the transaction are rolled back, if the transaction is rolled back with the rollback() method. All changes before the savepoint are implemented when a transaction is rolled back. A savepoint is set with the overloaded setSavepoint() method:

Savepoint savepoint=connection.setSavepoint();
Savepoint savepoint=connection.setSavepoint("savepointName");

The getSavepointId() method returns the savepoint id, and the getSavepointName() method returns the savepoint name.

主站蜘蛛池模板: 连南| 中方县| 海南省| 茂名市| 黄浦区| 云阳县| 茶陵县| 贵港市| 噶尔县| 榆树市| 辽阳市| 丹阳市| 沿河| 庆阳市| 清镇市| 江安县| 文昌市| 兰西县| 诸暨市| 彰武县| 措勤县| 海宁市| 织金县| 黎川县| 竹山县| 海晏县| 长沙市| 县级市| 西吉县| 常德市| 抚远县| 清涧县| 乌拉特后旗| 定远县| 游戏| 永泰县| 蒙自县| 石狮市| 修水县| 和硕县| 隆安县|