- 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.
推薦閱讀
- EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g: LITE
- IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations
- HTML5 Multimedia Development Cookbook
- Photoshop后期強:數碼攝影后期完全寶典
- 中文版Maya 2012實用教程(第2版)
- 中文版Illustrator CC實用教程
- Photoshop CC從入門到精通(全彩超值版)
- 中文版3ds Max/VRay效果圖制作完全自學教程(實例培訓教材版)
- Backbone.js Cookbook
- Unity 2020游戲開發快速上手
- 中文版Photoshop CS5平面設計實用教程(第2版)
- Cinema 4D基礎培訓教材
- 玩轉微信5.0
- 剪映:零基礎輕松掌握手機剪輯短視頻
- AI純美人物繪畫關鍵詞圖鑒(Midjourney版)