Modifier and Type | Class and Description |
---|---|
static class |
SQLiteDB.Factory |
Database.State
config, errorHandler, locale, logger, runnableFactory
accessLock
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(java.lang.Object o) |
java.sql.Connection |
getConnection() |
java.sql.Connection |
getNewConnection(java.io.File dbFile) |
DBType |
getType()
Used to get the
DBType of the Database |
int |
hashCode() |
void |
returnToPool(java.sql.Connection connection) |
void |
setupDataSource()
Set up the source for connections.
|
executeTransaction, getServerUUIDSupplier, init, query, setTransactionExecutorServiceProvider
getState, setState
public void setupDataSource()
SQLDB
setupDataSource
in class SQLDB
public java.sql.Connection getNewConnection(java.io.File dbFile) throws java.sql.SQLException
java.sql.SQLException
public DBType getType()
Database
DBType
of the DatabaseDBType
DBType
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in class SQLDB
java.sql.SQLException
public void returnToPool(java.sql.Connection connection)
returnToPool
in class SQLDB