getPropertyInfo(String url, Properties info)

Syntax:

DriverPropertyInfo[] getPropertyInfo(String url,
                                     Properties info)
                                     throws SQLException

Description:

Gets information about the possible properties for this driver.

The getPropertyInfo method is intended to allow a generic GUI tool to discover what properties it should prompt a human for in order to get enough information to connect to a database. Note that depending on the values the human has supplied so far, additional values may become necessary, so it may be necessary to iterate though several calls to the getPropertyInfo method.

Parameters:

url

the URL of the database to which to connect

info

a proposed list of tag/value pairs that will be sent on connect open

Returns:

an array of DriverPropertyInfo objects describing possible properties. This array may be an empty array if no properties are required.

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Driver.getPropertyInfo(String, Properties)