FileDocCategorySizeDatePackage
ResultSetInfo.javaAPI DocGlassfish v2 API7814Fri May 04 22:35:34 BST 2007javax.resource.cci

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.

version
0.9
author
Rahul Sharma
see
javax.resource.cci.Connection
see
java.sql.ResultSet
see
javax.resource.cci.ConnectionMetaData

Fields Summary
Constructors Summary
Methods Summary
public booleandeletesAreDetected(int type)

public booleaninsertsAreDetected(int type)
Indicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted.

param
type type of the ResultSet i.e. ResultSet.TYPE_XXX
return
true if changes are detected by the result set type; false otherwise
see
java.sql.ResultSet#rowInserted
throws
ResourceException Failed to get the information

public booleanothersDeletesAreVisible(int type)
Indicates whether deletes made by others are visible.

param
type type of the ResultSet i.e. ResultSet.TYPE_XXX
return
true if deletes by others are visible for the ResultSet type; false otherwise
throws
ResourceException Failed to get the information

public booleanothersInsertsAreVisible(int type)
Indicates whether inserts made by others are visible.

param
type type of the ResultSet i.e. ResultSet.TYPE_XXX
return
true if inserts by others are visible for the ResultSet type; false otherwise
throws
ResourceException Failed to get the information

public booleanothersUpdatesAreVisible(int type)
Indicates whether updates made by others are visible.

param
type type of the ResultSet i.e. ResultSet.TYPE_XXX
return
true if updates by others are visible for the ResultSet type; false otherwise
throws
ResourceException Failed to get the information

public booleanownDeletesAreVisible(int type)

public booleanownInsertsAreVisible(int type)

public booleanownUpdatesAreVisible(int type)

public booleansupportsResultSetType(int type)
Indicates whether or not a resource adapter supports a type of ResultSet.

param
type type of the ResultSet i.e. ResultSet.TYPE_XXX
return
true if ResultSet type supported; false otherwise
throws
ResourceException Failed to get the information

public booleansupportsResultTypeConcurrency(int type, int concurrency)
Indicates whether or not a resource adapter supports the concurrency type in combination with the given ResultSet type/

param
type type of the ResultSet i.e. ResultSet.TYPE_XXX
param
concurrency ResultSet concurrency type defined in java.sql.ResultSet
return
true if the specified combination supported; false otherwise
throws
ResourceException Failed to get the information

public booleanupdatesAreDetected(int type)
Indicates whether or not a visible row update can be detected by calling the method ResultSet.rowUpdated.

param
type type of the ResultSet i.e. ResultSet.TYPE_XXX
return
true if changes are detected by the result set type; false otherwise
see
java.sql.ResultSet#rowUpdated
throws
ResourceException Failed to get the information