#releaseSavepoint

JDBC事务保存点(setSavepoint, releaseSavepoint )实例

以下是使用事务教程中描述的setSavepoint和回滚的代码示例。此示例代码是基于前面章节中完成的环境和数据库设置编写的。复制并将以下示例代码保存到:JDBCSavepoint.java 中,编译并运行如下-//STEP1.Importrequiredpackages//Seemoredetailathtt...