# java.sql.Driver.getPropertyInfo method

To get the DriverPropertyInfo object, request the JDBC driver from the driver manager.

    java.sql.DriverManager.getDriver("jdbc:derby:").
        getPropertyInfo(URL, Prop)

Do not request it from org.apache.derby.jdbc.EmbeddedDriver, which is only an intermediary class that loads the actual driver.

This method might return a DriverPropertyInfo object. In a Derby system, it consists of an array of database connection URL attributes.

For more information about java.sql.Driver.getPropertyInfo, see "Offering connection choices to the user" in the Derby Developer's Guide.

Parent topic: java.sql.Driver interface