|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Connection
,
ResultSet
,
ConnectionMetaData
Method Summary | |
---|---|
boolean |
deletesAreDetected(int type)
Indicates whether or not a visible row delete can be detected by calling ResultSet.rowDeleted. |
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)
Indicates whether a ResultSet's own deletes are visible. |
boolean |
ownInsertsAreVisible(int type)
Indicates whether a ResultSet's own inserts are visible. |
boolean |
ownUpdatesAreVisible(int type)
Indicates whether a ResultSet's own updates are visible. |
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 . |
Method Detail |
---|
boolean updatesAreDetected(int type) throws ResourceException
ResultSet.rowUpdated
.
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationResultSet.rowUpdated()
boolean insertsAreDetected(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationResultSet.rowInserted()
boolean deletesAreDetected(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationResultSet.rowDeleted()
boolean supportsResultSetType(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationboolean supportsResultTypeConcurrency(int type, int concurrency) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXXconcurrency
- ResultSet concurrency type defined in
java.sql.ResultSet
ResourceException
- Failed to get the informationboolean othersUpdatesAreVisible(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationboolean othersDeletesAreVisible(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationboolean othersInsertsAreVisible(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationboolean ownUpdatesAreVisible(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationboolean ownInsertsAreVisible(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the informationboolean ownDeletesAreVisible(int type) throws ResourceException
type
- type of the ResultSet i.e. ResultSet.TYPE_XXX
ResourceException
- Failed to get the information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41