Updated on 2024-06-03 GMT+08:00

java.sql.Driver

This section describes java.sql.Driver, the database driver interface.

Table 1 Support status for java.sql.Driver

Method Name

Return Type

Support JDBC4 (Yes/No)

acceptsURL(String url)

Boolean

Yes

connect(String url, Properties info)

Connection

Yes

jdbcCompliant()

Boolean

Yes

getMajorVersion()

int

Yes

getMinorVersion()

int

Yes

getParentLogger()

Logger

Yes

getPropertyInfo(String url, Properties info)

DriverPropertyInfo[]

Yes