Updated on 2024-05-07 GMT+08:00

java.sql.Driver

java.sql.Driver is a database driver API.

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