Package org.apache.derby.jdbc
Class JDBC
- java.lang.Object
-
- org.apache.derby.jdbc.JDBC
-
-
Field Summary
Fields Modifier and Type Field Description private InternalDriverdriver
-
Constructor Summary
Constructors Constructor Description JDBC(InternalDriver driver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsURL(java.lang.String url)Does the driver accept the passed in JDBC URLjava.lang.StringgetDriverLevel()Get the JDBC driver's implementation levelintgetMajorVersion()Return the JDBC driver's major version.intgetMinorVersion()Return the JDBC driver's minor version.booleanisCompliantDriver()Is the JDBC driver compliant.
-
-
-
Field Detail
-
driver
private final InternalDriver driver
-
-
Constructor Detail
-
JDBC
JDBC(InternalDriver driver)
-
-
Method Detail
-
getDriverLevel
public java.lang.String 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:
Driver.getMajorVersion()
-
getMinorVersion
public int getMinorVersion()
Description copied from interface:JDBCMBeanReturn the JDBC driver's minor version.- Specified by:
getMinorVersionin interfaceJDBCMBean- Returns:
- minor version
- See Also:
Driver.getMinorVersion()
-
isCompliantDriver
public boolean isCompliantDriver()
Description copied from interface:JDBCMBeanIs the JDBC driver compliant.- Specified by:
isCompliantDriverin interfaceJDBCMBean- Returns:
- compliance state
- See Also:
Driver.jdbcCompliant()
-
acceptsURL
public boolean acceptsURL(java.lang.String url) throws java.sql.SQLExceptionDescription 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:
java.sql.SQLException- See Also:
Driver.acceptsURL(String)
-
-