What Is DriverPropertyInfo? JDBC

The java.sql.DriverPropertyInfo class extends the java.lang.Object class and provides Driver properties for making a database connection. This class is of interest only to advanced programmers who need to interact with a JDBC driver via the method Driver.getPropertyInfo() to discover and supply properties for database connections. The DriverPropertyInfo class provides Driver properties for making a connection.

This class has one public constructor and five public instance attributes. J2SE 5.0 defines them as follows.

DriverPropertyInfo’s public constructor has the following signature:

DriverPropertyInfo’s constructor requires two strings: the property name and the property value. Here is an example:

Table lists DriverPropertyInfo’s public instance attributes.

DriverPropertyInfo’s public instance attributes



Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

JDBC Topics