Top Description Methods
javax.resource.cci

public Interface ResultSetInfo

Imports
javax.resource.ResourceException

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.

Author
Rahul Sharma
Version
0.9
See Also
javax.resource.cci.Connection, java.sql.ResultSet, javax.resource.cci.ConnectionMetaData

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if changes are detected by the result set type; false otherwise
deletesAreDetected
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether or not a visible row delete can be detected by calling ResultSet.rowDeleted.

public boolean

Returns:

true if changes are detected by the result set type; false otherwise
insertsAreDetected
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted.

public boolean

Returns:

true if deletes by others are visible for the ResultSet type; false otherwise
othersDeletesAreVisible
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether deletes made by others are visible.

public boolean

Returns:

true if inserts by others are visible for the ResultSet type; false otherwise
othersInsertsAreVisible
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether inserts made by others are visible.

public boolean

Returns:

true if updates by others are visible for the ResultSet type; false otherwise
othersUpdatesAreVisible
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether updates made by others are visible.

public boolean

Returns:

true if inserts are visible for the ResultSet type; false otherwise
ownDeletesAreVisible
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether a ResultSet's own deletes are visible.

public boolean

Returns:

true if inserts are visible for the ResultSet type; false otherwise
ownInsertsAreVisible
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether a ResultSet's own inserts are visible.

public boolean

Returns:

true if updates are visible for the ResultSet type; false otherwise
ownUpdatesAreVisible
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether a ResultSet's own updates are visible.

public boolean

Returns:

true if ResultSet type supported; false otherwise
supportsResultSetType
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether or not a resource adapter supports a type of ResultSet.

public boolean

Returns:

true if the specified combination supported; false otherwise
supportsResultTypeConcurrency
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
,
int
ResultSet concurrency type defined in java.sql.ResultSet
concurrency
)

Indicates whether or not a resource adapter supports the concurrency type in combination with the given ResultSet type/

public boolean

Returns:

true if changes are detected by the result set type; false otherwise
updatesAreDetected
(int
type of the ResultSet i.e. ResultSet.TYPE_XXX
type
)

Indicates whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated.

Method Detail

deletesAreDetectedback to summary
public boolean deletesAreDetected(int type) throws ResourceException

Indicates 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:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if changes are detected by the result set type; false otherwise

Exceptions
ResourceException:
Failed to get the information
See Also
java.sql.ResultSet#rowDeleted
insertsAreDetectedback to summary
public boolean insertsAreDetected(int type) throws ResourceException

Indicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if changes are detected by the result set type; false otherwise

Exceptions
ResourceException:
Failed to get the information
See Also
java.sql.ResultSet#rowInserted
othersDeletesAreVisibleback to summary
public boolean othersDeletesAreVisible(int type) throws ResourceException

Indicates whether deletes made by others are visible.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if deletes by others are visible for the ResultSet type; false otherwise

Exceptions
ResourceException:
Failed to get the information
othersInsertsAreVisibleback to summary
public boolean othersInsertsAreVisible(int type) throws ResourceException

Indicates whether inserts made by others are visible.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if inserts by others are visible for the ResultSet type; false otherwise

Exceptions
ResourceException:
Failed to get the information
othersUpdatesAreVisibleback to summary
public boolean othersUpdatesAreVisible(int type) throws ResourceException

Indicates whether updates made by others are visible.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if updates by others are visible for the ResultSet type; false otherwise

Exceptions
ResourceException:
Failed to get the information
ownDeletesAreVisibleback to summary
public boolean ownDeletesAreVisible(int type) throws ResourceException

Indicates whether a ResultSet's own deletes are visible.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if inserts are visible for the ResultSet type; false otherwise

Exceptions
ResourceException:
Failed to get the information
ownInsertsAreVisibleback to summary
public boolean ownInsertsAreVisible(int type) throws ResourceException

Indicates whether a ResultSet's own inserts are visible.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if inserts are visible for the ResultSet type; false otherwise

Exceptions
ResourceException:
Failed to get the information
ownUpdatesAreVisibleback to summary
public boolean ownUpdatesAreVisible(int type) throws ResourceException

Indicates whether a ResultSet's own updates are visible.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if updates are visible for the ResultSet type; false otherwise

Exceptions
ResourceException:
Failed to get the information
supportsResultSetTypeback to summary
public boolean supportsResultSetType(int type) throws ResourceException

Indicates whether or not a resource adapter supports a type of ResultSet.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if ResultSet type supported; false otherwise

Exceptions
ResourceException:
Failed to get the information
supportsResultTypeConcurrencyback to summary
public 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/

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

concurrency:int

ResultSet concurrency type defined in java.sql.ResultSet

Returns:boolean

true if the specified combination supported; false otherwise

Exceptions
ResourceException:
Failed to get the information
updatesAreDetectedback to summary
public boolean updatesAreDetected(int type) throws ResourceException

Indicates whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated.

Parameters
type:int

type of the ResultSet i.e. ResultSet.TYPE_XXX

Returns:boolean

true if changes are detected by the result set type; false otherwise

Exceptions
ResourceException:
Failed to get the information
See Also
java.sql.ResultSet#rowUpdated