| java.lang.Object com.sqlmagic.tinysql.tinySQLDriver
All known Subclasses: com.sqlmagic.tinysql.dbfFileDriver, com.sqlmagic.tinysql.textFileDriver,
tinySQLDriver | public tinySQLDriver()(Code) | | Constructs a new tinySQLDriver
|
acceptsURL | public boolean acceptsURL(String url) throws SQLException(Code) | | Check to see if the URL is a tinySQL URL. It should start
with jdbc:tinySQL in order to qualify.
Parameters: url - The URL of the database. True if this driver can connect to the given URL. |
connect | public Connection connect(String url, Properties info) throws SQLException(Code) | | Check the syntax of the URL.
See Also: java.sql.Driver.connect Parameters: url - the URL for the database in question Parameters: info - the properties object null if the URL should be ignored, or a new Connectionobject if the URL is a valid tinySQL URL |
getPropertyInfo | public DriverPropertyInfo[] getPropertyInfo(String url, java.util.Properties info) throws SQLException(Code) | | The getPropertyInfo method is intended to allow a generic GUI tool to
discover what properties it should prompt a human for in order to get
enough information to connect to a database. Note that depending on
the values the human has supplied so far, additional values may become
necessary, so it may be necessary to iterate though several calls
to getPropertyInfo.
Parameters: url - The URL of the database to connect to. Parameters: info - A proposed list of tag/value pairs that will be sent onconnect open. An array of DriverPropertyInfo objects describing possibleproperties. This array may be an empty array if no propertiesare required. |
jdbcCompliant | public boolean jdbcCompliant()(Code) | | Report whether the Driver is a genuine JDBC COMPLIANT (tm) driver.
Unfortunately, the tinySQL is "sub-compliant" :-(
|
|
|