-
public interface ResultSetInfoThe interfacejakarta.resource.cci.ResultSetInfoprovides information on the support provided for ResultSet by a connected EIS instance. A component calls the methodConnection.getResultInfoto get the ResultSetInfo instance.A CCI implementation is not required to support
jakarta.resource.cci.ResultSetInfointerface. The implementation of this interface is provided only if the CCI supports the ResultSet facility.- Version:
- 0.9
- Author:
- Rahul Sharma
- See Also:
Connection,ResultSet,ConnectionMetaData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandeletesAreDetected(int type)Indicates whether or not a visible row delete can be detected by calling ResultSet.rowDeleted.booleaninsertsAreDetected(int type)Indicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted.booleanothersDeletesAreVisible(int type)Indicates whether deletes made by others are visible.booleanothersInsertsAreVisible(int type)Indicates whether inserts made by others are visible.booleanothersUpdatesAreVisible(int type)Indicates whether updates made by others are visible.booleanownDeletesAreVisible(int type)Indicates whether a ResultSet's own deletes are visible.booleanownInsertsAreVisible(int type)Indicates whether a ResultSet's own inserts are visible.booleanownUpdatesAreVisible(int type)Indicates whether a ResultSet's own updates are visible.booleansupportsResultSetType(int type)Indicates whether or not a resource adapter supports a type of ResultSet.booleansupportsResultTypeConcurrency(int type, int concurrency)Indicates whether or not a resource adapter supports the concurrency type in combination with the given ResultSet type/booleanupdatesAreDetected(int type)Indicates whether or not a visible row update can be detected by calling the methodResultSet.rowUpdated.
-
-
-
Method Detail
-
updatesAreDetected
boolean updatesAreDetected(int type) throws ResourceExceptionIndicates whether or not a visible row update can be detected by calling the methodResultSet.rowUpdated.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if changes are detected by the result set type; false otherwise
- Throws:
ResourceException- Failed to get the information- See Also:
ResultSet.rowUpdated()
-
insertsAreDetected
boolean insertsAreDetected(int type) throws ResourceExceptionIndicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if changes are detected by the result set type; false otherwise
- Throws:
ResourceException- Failed to get the information- See Also:
ResultSet.rowInserted()
-
deletesAreDetected
boolean deletesAreDetected(int type) throws ResourceExceptionIndicates whether or not a visible row delete can be detected by calling ResultSet.rowDeleted. If deletesAreDetected returns false, then deleted rows are removed from the ResultSet.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if changes are detected by the result set type; false otherwise
- Throws:
ResourceException- Failed to get the information- See Also:
ResultSet.rowDeleted()
-
supportsResultSetType
boolean supportsResultSetType(int type) throws ResourceExceptionIndicates whether or not a resource adapter supports a type of ResultSet.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if ResultSet type supported; false otherwise
- Throws:
ResourceException- Failed to get the information
-
supportsResultTypeConcurrency
boolean supportsResultTypeConcurrency(int type, int concurrency) throws ResourceExceptionIndicates whether or not a resource adapter supports the concurrency type in combination with the given ResultSet type/- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXXconcurrency- ResultSet concurrency type defined in java.sql.ResultSet- Returns:
- true if the specified combination supported; false otherwise
- Throws:
ResourceException- Failed to get the information
-
othersUpdatesAreVisible
boolean othersUpdatesAreVisible(int type) throws ResourceExceptionIndicates whether updates made by others are visible.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if updates by others are visible for the ResultSet type; false otherwise
- Throws:
ResourceException- Failed to get the information
-
othersDeletesAreVisible
boolean othersDeletesAreVisible(int type) throws ResourceExceptionIndicates whether deletes made by others are visible.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if deletes by others are visible for the ResultSet type; false otherwise
- Throws:
ResourceException- Failed to get the information
-
othersInsertsAreVisible
boolean othersInsertsAreVisible(int type) throws ResourceExceptionIndicates whether inserts made by others are visible.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if inserts by others are visible for the ResultSet type; false otherwise
- Throws:
ResourceException- Failed to get the information
-
ownUpdatesAreVisible
boolean ownUpdatesAreVisible(int type) throws ResourceExceptionIndicates whether a ResultSet's own updates are visible.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if updates are visible for the ResultSet type; false otherwise
- Throws:
ResourceException- Failed to get the information
-
ownInsertsAreVisible
boolean ownInsertsAreVisible(int type) throws ResourceExceptionIndicates whether a ResultSet's own inserts are visible.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if inserts are visible for the ResultSet type; false otherwise
- Throws:
ResourceException- Failed to get the information
-
ownDeletesAreVisible
boolean ownDeletesAreVisible(int type) throws ResourceExceptionIndicates whether a ResultSet's own deletes are visible.- Parameters:
type- type of the ResultSet i.e. ResultSet.TYPE_XXX- Returns:
- true if inserts are visible for the ResultSet type; false otherwise
- Throws:
ResourceException- Failed to get the information
-
-