-
public interface ResultSetInfo
The interfacejavax.resource.cci.ResultSetInfo
provides information on the support provided for ResultSet by a connected EIS instance. A component calls the methodConnection.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 Also:
Connection
,ResultSet
,ConnectionMetaData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description 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 methodResultSet.rowUpdated
.
-
-
-
Method Detail
-
updatesAreDetected
boolean updatesAreDetected(int type) throws ResourceException
Indicates 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 ResourceException
Indicates 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 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
- 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 ResourceException
Indicates 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 ResourceException
Indicates 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 ResourceException
Indicates 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 ResourceException
Indicates 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 ResourceException
Indicates 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 ResourceException
Indicates 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 ResourceException
Indicates 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 ResourceException
Indicates 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
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/resource/cci/resultsetinfo.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.