Package org.apache.derby.jdbc
Class JDBC
java.lang.Object
org.apache.derby.jdbc.JDBC
- All Implemented Interfaces:
JDBCMBean
Simple JBDC mbean that pulls information
about the JDBC driver.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) Does the driver accept the passed in JDBC URLGet the JDBC driver's implementation levelint
Return the JDBC driver's major version.int
Return the JDBC driver's minor version.boolean
Is the JDBC driver compliant.
-
Field Details
-
driver
-
-
Constructor Details
-
JDBC
JDBC(InternalDriver driver)
-
-
Method Details
-
getDriverLevel
Description copied from interface:JDBCMBean
Get the JDBC driver's implementation level- Specified by:
getDriverLevel
in interfaceJDBCMBean
-
getMajorVersion
public int getMajorVersion()Description copied from interface:JDBCMBean
Return the JDBC driver's major version.- Specified by:
getMajorVersion
in interfaceJDBCMBean
- Returns:
- major version
- See Also:
-
getMinorVersion
public int getMinorVersion()Description copied from interface:JDBCMBean
Return the JDBC driver's minor version.- Specified by:
getMinorVersion
in interfaceJDBCMBean
- Returns:
- minor version
- See Also:
-
isCompliantDriver
public boolean isCompliantDriver()Description copied from interface:JDBCMBean
Is the JDBC driver compliant.- Specified by:
isCompliantDriver
in interfaceJDBCMBean
- Returns:
- compliance state
- See Also:
-
acceptsURL
Description copied from interface:JDBCMBean
Does the driver accept the passed in JDBC URL- Specified by:
acceptsURL
in interfaceJDBCMBean
- Parameters:
url
- JDBC URL to check.- Returns:
- True if it supports it, false otherwise.
- Throws:
SQLException
- See Also:
-