Package org.cdlib.mrt.utility
Class MrtConnectionPool
java.lang.Object
org.cdlib.mrt.utility.MrtConnectionPool
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MrtConnectionPool
(String url, String user, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getConnection
(boolean autoCommit) static MrtConnectionPool
getMrtConnectionPool
(String url, String user, String password) boolean
void
-
Constructor Details
-
MrtConnectionPool
-
-
Method Details
-
getMrtConnectionPool
public static MrtConnectionPool getMrtConnectionPool(String url, String user, String password) throws TException - Throws:
TException
-
reapConnections
public boolean reapConnections() -
closeConnections
public void closeConnections() -
getConnection
- Throws:
SQLException
-
getConnection
- Throws:
SQLException
-
returnConnection
-