Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » 使用 UltraLiteJ » 开发 UltraLiteJ 应用程序 » 使用 SQL 访问和操作数据

 

使用 COMMIT 和 ROLLBACK 管理事务

UltraLiteJ 不支持 AutoCommit 模式。必须使用 Connection 接口支持的方法显式地提交或回退事务。

要提交事务,可使用 commit 方法。

要回退事务,可使用 rollback 方法。

另请参见