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

java.sql.Driver

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

Table 1 Support status for java.sql.Driver

Method Name

Return Type

JDBC4 Is Supported or Not

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