|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.resource.cci Interface ResultSetInfo
public interface ResultSetInfo
The interface javax.resource.cci.ResultSetInfo provides
information on the support provided for ResultSet by a connected
EIS instance. A component calls the method
Connection.getResultInfo to get the ResultSetInfo instance.
A CCI implementation is not required to support
javax.resource.cci.ResultSetInfo interface. The
implementation of this interface is provided only if the CCI
supports the ResultSet facility.
- 版本:
- 0.9
- 作者:
- Rahul Sharma
- 另请参见:
Connection,ResultSet,ConnectionMetaData
| 方法摘要 | |
|---|---|
boolean |
deletesAreDetected(int type)
|
boolean |
insertsAreDetected(int type)
Indicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted. |
boolean |
othersDeletesAreVisible(int type)
Indicates whether deletes made by others are visible. |
boolean |
othersInsertsAreVisible(int type)
Indicates whether inserts made by others are visible. |
boolean |
othersUpdatesAreVisible(int type)
Indicates whether updates made by others are visible. |
boolean |
ownDeletesAreVisible(int type)
|
boolean |
ownInsertsAreVisible(int type)
|
boolean |
ownUpdatesAreVisible(int type)
|
boolean |
supportsResultSetType(int type)
Indicates whether or not a resource adapter supports a type of ResultSet. |
boolean |
supportsResultTypeConcurrency(int type,
int concurrency)
Indicates whether or not a resource adapter supports the concurrency type in combination with the given ResultSet type/ |
boolean |
updatesAreDetected(int type)
Indicates whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated. |
| 方法详细信息 |
|---|
updatesAreDetected
boolean updatesAreDetected(int type)
throws ResourceException
- Indicates whether or not a visible row update can be detected
by calling the method
ResultSet.rowUpdated. - 参数:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- 返回:
- true if changes are detected by the result set type; false otherwise
- 抛出异常:
ResourceException- Failed to get the information- 另请参见:
ResultSet.rowUpdated()
insertsAreDetected
boolean insertsAreDetected(int type)
throws ResourceException
- Indicates whether or not a visible row insert can be detected
by calling ResultSet.rowInserted.
- 参数:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- 返回:
- true if changes are detected by the result set type; false otherwise
- 抛出异常:
ResourceException- Failed to get the information- 另请参见:
ResultSet.rowInserted()
deletesAreDetected
boolean deletesAreDetected(int type)
throws ResourceException
- 抛出异常:
ResourceException
supportsResultSetType
boolean supportsResultSetType(int type)
throws ResourceException
- Indicates whether or not a resource adapter supports a type
of ResultSet.
- 参数:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- 返回:
- true if ResultSet type supported; false otherwise
- 抛出异常:
ResourceException- Failed to get the information
supportsResultTypeConcurrency
boolean supportsResultTypeConcurrency(int type,
int concurrency)
throws ResourceException
- Indicates whether or not a resource adapter supports the
concurrency type in combination with the given ResultSet type/
- 参数:
type- type of the ResultSet i.e. ResultSet.TYPE_XXXconcurrency- ResultSet concurrency type defined in java.sql.ResultSet- 返回:
- true if the specified combination supported; false otherwise
- 抛出异常:
ResourceException- Failed to get the information
othersUpdatesAreVisible
boolean othersUpdatesAreVisible(int type)
throws ResourceException
- Indicates whether updates made by others are visible.
- 参数:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- 返回:
- true if updates by others are visible for the ResultSet type; false otherwise
- 抛出异常:
ResourceException- Failed to get the information
othersDeletesAreVisible
boolean othersDeletesAreVisible(int type)
throws ResourceException
- Indicates whether deletes made by others are visible.
- 参数:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- 返回:
- true if deletes by others are visible for the ResultSet type; false otherwise
- 抛出异常:
ResourceException- Failed to get the information
othersInsertsAreVisible
boolean othersInsertsAreVisible(int type)
throws ResourceException
- Indicates whether inserts made by others are visible.
- 参数:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- 返回:
- true if inserts by others are visible for the ResultSet type; false otherwise
- 抛出异常:
ResourceException- Failed to get the information
ownUpdatesAreVisible
boolean ownUpdatesAreVisible(int type)
throws ResourceException
- 抛出异常:
ResourceException
ownInsertsAreVisible
boolean ownInsertsAreVisible(int type)
throws ResourceException
- 抛出异常:
ResourceException
ownDeletesAreVisible
boolean ownDeletesAreVisible(int type)
throws ResourceException
- 抛出异常:
ResourceException
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.