Package lu.kbra.pclib.db.connector
Class MySQLDatabaseConnector
java.lang.Object
lu.kbra.pclib.db.connector.AbstractDatabaseConnector
lu.kbra.pclib.db.connector.ThreadLocalDatabaseConnector
lu.kbra.pclib.db.connector.MySQLDatabaseConnector
- All Implemented Interfaces:
Cloneable,DatabaseConnector
-
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
FieldsFields inherited from class lu.kbra.pclib.db.connector.ThreadLocalDatabaseConnector
connections, generation, threadConnectionFields inherited from class lu.kbra.pclib.db.connector.AbstractDatabaseConnector
databaseStructure -
Constructor Summary
ConstructorsConstructorDescriptionMySQLDatabaseConnector(String username, String password, String host, int port) -
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
getDatabase, preDelete, setDatabaseStructure
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
PROTOCOL
- See Also:
-
port
public int port -
database
-
-
Constructor Details
-
MySQLDatabaseConnector
-
-
Method Details
-
clone
- Specified by:
clonein interfaceDatabaseConnector- Specified by:
clonein classAbstractDatabaseConnector
-
createConnection
- Throws:
DBException
-
getProtocol
-
getURI
-
setDatabase
-