|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.commons.dbcp.DbcpUtils
public final class DbcpUtils
Misc handy functions for the Apache Database Connection Pooling package.
NOTE: The C3P0 library is generally a better database connection pooling library all round.
Method Summary | |
---|---|
static void |
closePool(String name)
Close the specifically named DBCP pool. |
static void |
closePools()
Close all DBCP pools. |
static PoolingDriver |
getPoolingDriver()
Get the DBCP pooling driver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void closePool(String name) throws SQLException
name
- The name of the pool to close.
SQLException
public static void closePools()
public static PoolingDriver getPoolingDriver()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |