- JDBC 4.0 and Oracle JDeveloper for J2EE Development
- Deepak Vohra
- 82字
- 2021-08-25 18:08:44
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.
推薦閱讀
- 使用AADL的模型基工程:SAE體系結構分析和設計語言入門
- ERP沙盤模擬教程
- Creo 4.0從入門到精通
- 用Cubase輕松制作你的短視頻音樂
- Photoshop CS6完美創意設計:不一樣的圖像藝術處理
- 中文版3ds Max 2014-VRay效果圖制作完全自學教程
- AutoCAD 2024室內設計從入門到精通(升級版)
- UML 2.0 in Action: A project/based tutorial
- 數碼攝影修圖師完全手冊(第2卷)
- Learning Ext JS
- 選擇的藝術:Photoshop圖像處理深度剖析(第3版)
- Oracle ADF Enterprise Application Development—Made Simple
- AutoCAD 2016中文版自學視頻教程(標準版)
- Apache Geronimo 2.1: Quick Reference
- Microsoft SharePoint 2010 End User Guide: Business Performance Enhancement