javax.resource.cci

Interface 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 Also:
    Connection, ResultSet, ConnectionMetaData
    • Method Detail

      • updatesAreDetected

        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 - 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_XXX
        concurrency - 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

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/08/2025 17:06:12 Cette version de la page est en cache (à la date du 21/08/2025 17:06:12) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 19/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/resource/cci/ResultSetInfo.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, ResultSetInfo (Java(TM) EE 7 Specification APIs)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.