Package lu.kbra.pclib.db.connector
Class SQLiteDatabaseConnector
java.lang.Object
lu.kbra.pclib.db.connector.AbstractDatabaseConnector
lu.kbra.pclib.db.connector.ThreadLocalDatabaseConnector
lu.kbra.pclib.db.connector.SQLiteDatabaseConnector
- All Implemented Interfaces:
Cloneable,DatabaseConnector,ImplicitCreationCapable,ImplicitDeletionCapable
public class SQLiteDatabaseConnector
extends ThreadLocalDatabaseConnector
implements ImplicitCreationCapable, ImplicitDeletionCapable
-
Nested Class Summary
Nested classes/interfaces inherited from class lu.kbra.pclib.db.connector.ThreadLocalDatabaseConnector
ThreadLocalDatabaseConnector.PerThreadCachedConnectionNested classes/interfaces inherited from class lu.kbra.pclib.db.connector.AbstractDatabaseConnector
AbstractDatabaseConnector.CachedConnection, AbstractDatabaseConnector.ConnectionCachingStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringstatic final intstatic booleanstatic final Stringstatic final StringFields inherited from class lu.kbra.pclib.db.connector.ThreadLocalDatabaseConnector
connections, generation, threadConnection -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class lu.kbra.pclib.db.connector.ThreadLocalDatabaseConnector
connect, getConnectionCachingStrategy, keepAlive, reset, useMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface lu.kbra.pclib.db.connector.impl.DatabaseConnector
preDelete
-
Field Details
-
FIX_DB_EXTENSION_PROPERTY
-
FIX_DB_EXTENSION
public static boolean FIX_DB_EXTENSION -
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
PROTOCOL
- See Also:
-
dirPath
-
database
-
-
Constructor Details
-
SQLiteDatabaseConnector
-
-
Method Details
-
clone
- Specified by:
clonein interfaceDatabaseConnector- Specified by:
clonein classAbstractDatabaseConnector
-
create
- Specified by:
createin interfaceImplicitCreationCapable- Throws:
DBException
-
createConnection
- Specified by:
createConnectionin interfaceDatabaseConnector- Throws:
DBException
-
delete
- Specified by:
deletein interfaceImplicitDeletionCapable- Throws:
DBException
-
exists
- Specified by:
existsin interfaceImplicitCreationCapable- Throws:
DBException
-
getDatabase
- Specified by:
getDatabasein interfaceDatabaseConnector
-
getPath
-
getProtocol
- Specified by:
getProtocolin interfaceDatabaseConnector
-
getURI
- Specified by:
getURIin interfaceDatabaseConnector
-
setDatabase
- Specified by:
setDatabasein interfaceDatabaseConnector
-