org.osjava.sj.loader
Class PoolSetup
java.lang.Object
org.osjava.sj.loader.PoolSetup
public class PoolSetup
- extends Object
This is a wrapper for the Pooling functionality, currently provided
by Jakarta DBCP. Having the wrapper allows the dependency to be
optional.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoolSetup
public PoolSetup()
setupConnection
public static void setupConnection(String pool,
String url,
String username,
String password,
Properties properties)
throws SQLException
- Throws:
SQLException
getUrl
public static String getUrl(String pool)
Copyright © 2003-2008 OSJava. All Rights Reserved.