com.caucho.jdbc.mysql
Class Driver
java.lang.Object
|
+--com.caucho.jdbc.mysql.Driver
- All Implemented Interfaces:
- java.sql.Driver
- public class Driver
- extends java.lang.Object
- implements java.sql.Driver
This is an experimental driver.
The driver syntax looks like
jdbc:mysql_caucho://localhost:3306/database
Method Summary |
boolean |
acceptsURL(java.lang.String url)
Driver function which returns true if the url is one of ours. |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info)
Driver interface to create a new connection. |
int |
getMajorVersion()
|
int |
getMinorVersion()
|
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties properties)
|
boolean |
jdbcCompliant()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Driver
public Driver()
acceptsURL
public boolean acceptsURL(java.lang.String url)
- Driver function which returns true if the url is one of ours.
- Specified by:
acceptsURL
in interface java.sql.Driver
connect
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
- Driver interface to create a new connection.
- Specified by:
connect
in interface java.sql.Driver
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interface java.sql.Driver
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interface java.sql.Driver
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties properties)
- Specified by:
getPropertyInfo
in interface java.sql.Driver
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interface java.sql.Driver