Updated on 2024-10-14 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 JDBC 4

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