public class SQLiteConnection extends JDBC4Connection
autoCommit, beginCommandMap, dateClass, dateFormat, dateMultiplier, datePrecision, dateStringFormat, db, meta, openModeFlags, transactionIsolation, transactionMode
TRANSACTION_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, unwrap
clearWarnings, 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, setTypeMap
checkCursor, checkOpen, close, db, finalize, getBusyTimeout, getDriverVersion, libversion, setBusyTimeout, setTransactionMode, url
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearWarnings, 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, setTypeMap
public SQLiteConnection(String url, String fileName) throws SQLException
url
- The location of the database.fileName
- The database.SQLException
public SQLiteConnection(String url, String fileName, Properties prop) throws SQLException
url
- The location of the database file.fileName
- The database.prop
- The configurations to apply.SQLException
public void setSchema(String schema) throws SQLException
SQLException
public String getSchema() throws SQLException
SQLException
public void abort(Executor executor) throws SQLException
SQLException
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
SQLException
public int getNetworkTimeout() throws SQLException
SQLException
Copyright © 2016. All rights reserved.