软件包 | 描述 |
---|---|
java.sql |
提供的API来访问和处理的数据存储在数据源(通常是一个关系数据库)使用java编程语言
TM。
|
javax.sql.rowset |
JDBC
RowSet 实现标准接口和基类。
|
javax.sql.rowset.spi |
三分之一方供应商在其执行同步提供程序中使用的标准类和接口。
|
Modifier and Type | Method and Description |
---|---|
Savepoint |
Connection.setSavepoint()
创建在当前事务中一个未命名的保存点并返回表示它的新
Savepoint 对象。
|
Savepoint |
Connection.setSavepoint(String name)
创建一个保存点与给定的名称在当前事务并返回表示它的新
Savepoint 对象。
|
Modifier and Type | Method and Description |
---|---|
void |
Connection.releaseSavepoint(Savepoint savepoint)
从当前事务中移除指定的
Savepoint 和随后的
Savepoint 对象。
|
void |
Connection.rollback(Savepoint savepoint)
撤消所有的变化后,给
Savepoint 对象集。
|
Modifier and Type | Method and Description |
---|---|
void |
CachedRowSet.rollback(Savepoint s)
每个
CachedRowSet 对象的
SyncProvider 包含
Connection 对象从原来的
ResultSet 或JDBC传递给它的性质。
|
void |
JdbcRowSet.rollback(Savepoint s)
每个
JdbcRowSet 包含
Connection 对象从原来的
ResultSet 或JDBC传递给它的性质。
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionalWriter.rollback(Savepoint s)
到了
Savepoint 对象之前撤消所有更改在当前事务。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.