|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.jdbc.mysql.Driver
This is an experimental driver.
The driver syntax looks likejdbc:mysql_caucho://localhost:3306/database
The only parameter is character-encoding.
Constructor Summary | |
Driver()
|
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. |
java.lang.String |
getEncoding()
Gets the character encoding. |
int |
getMajorVersion()
|
int |
getMinorVersion()
|
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties properties)
|
boolean |
jdbcCompliant()
|
void |
setEncoding(java.lang.String encoding)
Sets the character encoding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Driver()
Method Detail |
public void setEncoding(java.lang.String encoding)
public java.lang.String getEncoding()
public boolean acceptsURL(java.lang.String url)
acceptsURL
in interface java.sql.Driver
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
connect
in interface java.sql.Driver
java.sql.SQLException
public int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties properties)
getPropertyInfo
in interface java.sql.Driver
public boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |