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
Fields -
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
-
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
-