Package cronapi.osjava.sj.loader
Class PoolSetup
- java.lang.Object
-
- cronapi.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.
-
-
Constructor Summary
Constructors Constructor Description PoolSetup()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetUrl(String pool)static voidsetupConnection(String pool, String url, String username, String password, Properties properties)
-
-
-
Method Detail
-
setupConnection
public static void setupConnection(String pool, String url, String username, String password, Properties properties) throws SQLException
- Throws:
SQLException
-
-