Top Description Methods
org.apache.derby.mbeans

public Interface JDBCMBean

Known Direct Implementers
org.apache.derby.iapi.jdbc.JDBC
Imports
java.sql.SQLException

Management and information for the embedded JDBC driver.

Key properties for registered MBean:

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

True if it supports it, false otherwise.
acceptsURL
(String
JDBC URL to check.
url
)

Does the driver accept the passed in JDBC URL

public String

Returns:

the driver level
getDriverLevel
()

Get the JDBC driver's implementation level

public int

Returns:

major version
getMajorVersion
()

Return the JDBC driver's major version.

public int

Returns:

minor version
getMinorVersion
()

Return the JDBC driver's minor version.

public boolean

Returns:

compliance state
isCompliantDriver
()

Is the JDBC driver compliant.

Method Detail

acceptsURLback to summary
public boolean acceptsURL(String url) throws SQLException

Does the driver accept the passed in JDBC URL

Parameters
url:String

JDBC URL to check.

Returns:boolean

True if it supports it, false otherwise.

Exceptions
SQLException:
on error
See Also
java.sql.Driver#acceptsURL(String)
getDriverLevelback to summary
public String getDriverLevel()

Get the JDBC driver's implementation level

Returns:String

the driver level

getMajorVersionback to summary
public int getMajorVersion()

Return the JDBC driver's major version.

Returns:int

major version

See Also
java.sql.Driver#getMajorVersion()
getMinorVersionback to summary
public int getMinorVersion()

Return the JDBC driver's minor version.

Returns:int

minor version

See Also
java.sql.Driver#getMinorVersion()
isCompliantDriverback to summary
public boolean isCompliantDriver()

Is the JDBC driver compliant.

Returns:boolean

compliance state

See Also
java.sql.Driver#jdbcCompliant()