java.sql

Class DriverPropertyInfo


  • public class DriverPropertyInfo
    extends Object

    Driver properties for making a connection. The DriverPropertyInfo class is of interest only to advanced programmers who need to interact with a Driver via the method getDriverProperties to discover and supply properties for connections.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      String[] choices
      An array of possible values if the value for the field DriverPropertyInfo.value may be selected from a particular set of values; otherwise null.
      String description
      A brief description of the property, which may be null.
      String name
      The name of the property.
      boolean required
      The required field is true if a value must be supplied for this property during Driver.connect and false otherwise.
      String value
      The value field specifies the current value of the property, based on a combination of the information supplied to the method getPropertyInfo, the Java environment, and the driver-supplied default values.

        

    • Constructor Summary

      Constructors 
      Constructor and Description
      DriverPropertyInfo(String name, String value)
      Constructs a DriverPropertyInfo object with a given name and value.

        

    • Field Detail

      • name

        public String name
        The name of the property.
      • description

        public String description
        A brief description of the property, which may be null.
      • required

        public boolean required
        The required field is true if a value must be supplied for this property during Driver.connect and false otherwise.
      • value

        public String value
        The value field specifies the current value of the property, based on a combination of the information supplied to the method getPropertyInfo, the Java environment, and the driver-supplied default values. This field may be null if no value is known.
      • choices

        public String[] choices
        An array of possible values if the value for the field DriverPropertyInfo.value may be selected from a particular set of values; otherwise null.
    • Constructor Detail

      • DriverPropertyInfo

        public DriverPropertyInfo(String name,
                          String value)
        Constructs a DriverPropertyInfo object with a given name and value. The description and choices are intialized to null and required is initialized to false.
        Parameters:
        name - the name of the property
        value - the current value, which may be null

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.

Document créé le 30/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-java/sql/driverpropertyinfo.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, DriverPropertyInfo

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.

Table des matières Haut