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.
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.
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.
Public Constructors
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`DriverPropertyInfo` is a class for advanced programmers to interact with a Driver, discovering and supplying connection properties. It holds property details like `name`, `value`, `description`, `choices` (possible values), and whether it's `required`. A `DriverPropertyInfo` object is constructed with a property's name and value, defaulting `description` and `choices` to null, and `required` to false. The `value` is determined by `getPropertyInfo` input, the Java environment, and driver defaults.\n"]]