Class JDBC
java.lang.Object
org.apache.derby.jdbc.JDBC
- All Implemented Interfaces:
JDBCMBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) Does the driver accept the passed in JDBC URLGet the JDBC driver's implementation levelintReturn the JDBC driver's major version.intReturn the JDBC driver's minor version.booleanIs the JDBC driver compliant.
-
Field Details
-
driver
-
-
Constructor Details
-
JDBC
JDBC(InternalDriver driver)
-
-
Method Details
-
getDriverLevel
Description copied from interface:JDBCMBeanGet the JDBC driver's implementation level- Specified by:
getDriverLevelin interfaceJDBCMBean
-
getMajorVersion
public int getMajorVersion()Description copied from interface:JDBCMBeanReturn the JDBC driver's major version.- Specified by:
getMajorVersionin interfaceJDBCMBean- Returns:
- major version
- See Also:
-
getMinorVersion
public int getMinorVersion()Description copied from interface:JDBCMBeanReturn the JDBC driver's minor version.- Specified by:
getMinorVersionin interfaceJDBCMBean- Returns:
- minor version
- See Also:
-
isCompliantDriver
public boolean isCompliantDriver()Description copied from interface:JDBCMBeanIs the JDBC driver compliant.- Specified by:
isCompliantDriverin interfaceJDBCMBean- Returns:
- compliance state
- See Also:
-
acceptsURL
Description copied from interface:JDBCMBeanDoes the driver accept the passed in JDBC URL- Specified by:
acceptsURLin interfaceJDBCMBean- Parameters:
url- JDBC URL to check.- Returns:
- True if it supports it, false otherwise.
- Throws:
SQLException- See Also:
-