Inheritance diagram for org.openmobileis.common.util.database.JdbcPoolManagerDB:
It allows to connect a database by giving an url and a jdbc driver It establishes the connection, prepare statement and manage the application queries (using pool connections) All the DB parameters are contained in the database.properties file which is read by the InitFactories class.
Definition at line 53 of file JdbcPoolManagerDB.java.
Public Member Functions | |
JdbcPoolManagerDB () | |
* Connect to the database | |
JdbcPoolManagerDB (String alias, String srvdriver, String dbserver, String srvlogin, String srvpassword, int monitorinterval, int maxconnection, int idltimeout, int checkouttimeout, int maxcheckout, String shutdownquery) | |
void | connect () throws ServiceException |
void | disconnect () |
disconnect() method allows to close the database | |
boolean | isConnected () |
Connection | getConnection () throws java.sql.SQLException |
getConnection() return a free connection or null if all the connections are used after a given time out | |
void | garbageOpenedConnection () |
|
* Connect to the database
Definition at line 88 of file JdbcPoolManagerDB.java. |
|
disconnect() method allows to close the database
Implements org.openmobileis.common.util.database.ManagerDB. Definition at line 163 of file JdbcPoolManagerDB.java. |
|
getConnection() return a free connection or null if all the connections are used after a given time out
Implements org.openmobileis.common.util.database.ManagerDB. Definition at line 208 of file JdbcPoolManagerDB.java. References org.openmobileis.common.util.database.JdbcPoolManagerDB.isConnected(). |