Package com.ocient.jdbc
Class JDBCDriver
java.lang.Object
com.ocient.jdbc.JDBCDriver
- All Implemented Interfaces:
Driver
public class JDBCDriver extends Object implements Driver
-
Constructor Summary
Constructors Constructor Description JDBCDriver() -
Method Summary
Modifier and Type Method Description booleanacceptsURL(String arg0)Connectionconnect(String arg0, Properties arg1)ConnectioncreateConnection(String hostname, int portNum, String database, Properties properties)StringgetDriverVersion()intgetMajorVersion()intgetMinorVersion()LoggergetParentLogger()DriverPropertyInfo[]getPropertyInfo(String arg0, Properties arg1)booleanjdbcCompliant()
-
Constructor Details
-
JDBCDriver
public JDBCDriver()
-
-
Method Details
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
createConnection
public Connection createConnection(String hostname, int portNum, String database, Properties properties) throws SQLException- Throws:
SQLException
-
getDriverVersion
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-