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