|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drizzle.jdbc.DrizzleDriver
public final class DrizzleDriver
The base SQL DrizzleDriver class. User: marcuse Date: Jan 14, 2009 Time: 7:46:09 AM
| Constructor Summary | |
|---|---|
DrizzleDriver()
|
|
| Method Summary | |
|---|---|
boolean |
acceptsURL(java.lang.String url)
returns true if the driver can accept the url. |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info)
Connect to the given connection string. |
int |
getMajorVersion()
gets the major version of the driver. |
int |
getMinorVersion()
gets the minor version of the driver. |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
get the property info. |
boolean |
jdbcCompliant()
checks if the driver is jdbc compliant (not yet!). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrizzleDriver()
| Method Detail |
|---|
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
connect in interface java.sql.Driverurl - the url to connect toinfo - the properties of the connection - ignored at the moment
java.sql.SQLException - if it is not possible to connectpublic boolean acceptsURL(java.lang.String url)
acceptsURL in interface java.sql.Driverurl - the url to test
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
getPropertyInfo in interface java.sql.Driverurl - the url to get properties forinfo - the info props
java.sql.SQLException - if there is a problem getting the property infopublic int getMajorVersion()
getMajorVersion in interface java.sql.Driverpublic int getMinorVersion()
getMinorVersion in interface java.sql.Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface java.sql.Driver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||