public class SQLiteConnection extends JDBC4Connection
autoCommit, beginCommandMap, dateClass, dateFormat, dateMultiplier, datePrecision, dateStringFormat, db, meta, openModeFlags, transactionIsolation, transactionModeTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
SQLiteConnection(String url,
String fileName)
Constructor to create a connection to a database at the given location.
|
SQLiteConnection(String url,
String fileName,
Properties prop)
Constructor to create a pre-configured connection to a database at the
given location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Executor executor) |
int |
getNetworkTimeout() |
String |
getSchema() |
void |
setNetworkTimeout(Executor executor,
int milliseconds) |
void |
setSchema(String schema) |
createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, getClientInfo, getClientInfo, getMetaData, isClosed, isValid, isWrapperFor, prepareStatement, setClientInfo, setClientInfo, unwrapclearWarnings, commit, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getHoldability, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMapcheckCursor, checkOpen, close, db, finalize, getBusyTimeout, libversion, setBusyTimeout, setTransactionMode, urlclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearWarnings, close, commit, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getHoldability, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMappublic SQLiteConnection(String url, String fileName) throws SQLException
url - The location of the database.fileName - The database.SQLExceptionpublic SQLiteConnection(String url, String fileName, Properties prop) throws SQLException
url - The location of the database file.fileName - The database.prop - The configurations to apply.SQLExceptionpublic void setSchema(String schema) throws SQLException
SQLExceptionpublic String getSchema() throws SQLException
SQLExceptionpublic void abort(Executor executor) throws SQLException
SQLExceptionpublic void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
SQLExceptionpublic int getNetworkTimeout()
throws SQLException
SQLExceptionCopyright © 2018. All rights reserved.