|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sqlite.Driver
public class Driver
SQLite JDBC Driver class
Constructor Summary | |
---|---|
Driver()
|
Method Summary | |
---|---|
boolean |
acceptsURL(java.lang.String url)
Retrieves whether the driver thinks that it can open a connection to the given URL. |
JdbcConnection |
connect(java.lang.String url,
java.util.Properties info)
Attempts to make a database connection to the given URL. |
static int |
getDriverMajorVersion()
Returns the major version number of SQLite JDBC Driver. |
static int |
getDriverMinorVersion()
Returns the minor version number of SQLite JDBC Driver. |
static java.lang.String |
getDriverName()
It always returns "SQLite JDBC Driver". |
static int |
getDriverReleaseVersion()
Returns the release version number of SQLite JDBC Driver. |
static java.lang.String |
getDriverVersion()
Returns the version of SQLite JDBC Driver. |
int |
getMajorVersion()
invoke getDriverMajorVersion() method. |
int |
getMinorVersion()
invoke getDriverMinorVersion() method. |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
Gets information about the possible properties for this driver. NOTE: Not implemented yet. |
boolean |
jdbcCompliant()
It always returns false. |
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 static java.lang.String getDriverName()
public static java.lang.String getDriverVersion()
getDriverMajorVersion()
,
getDriverMinorVersion()
,
getDriverReleaseVersion()
public static int getDriverMajorVersion()
public static int getDriverMinorVersion()
public static int getDriverReleaseVersion()
public boolean acceptsURL(java.lang.String url)
acceptsURL
in interface java.sql.Driver
url
- the URL of the database
Scheme.JDBC_SQLITE_FILE
,
Scheme.JDBC_SQLITE_MEMORY
,
Scheme.JDBC_SQLITE
public JdbcConnection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
connect
in interface java.sql.Driver
url
- the URL of the database to which to connectinfo
- a list of arbitrary string tag/value pairs as connection arguments.
java.sql.SQLException
- if a database access error occurspublic int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
getDriverMajorVersion()
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
getDriverMinorVersion()
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
getPropertyInfo
in interface java.sql.Driver
url
- the URL of the database to which to connectinfo
- a proposed list of tag/value pairs that will be sent on connect open
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 |