org.javaWebGen.data
Class JDBCConnectionPool

java.lang.Object
  extended by org.javaWebGen.data.JDBCConnectionPool

public class JDBCConnectionPool
extends java.lang.Object

this is untested connection pool using the Datasource pooling from the JDBC driver IT uses JNDI to find the correct driver. This will not work with older versions of JDBC like sun's odbc-jdbc bridge.

See Also:
OldJDBCConnectionPool

Constructor Summary
JDBCConnectionPool(PropertiesReader reader)
           
 
Method Summary
protected  void close(java.sql.Connection con)
           
protected  java.sql.Connection getConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCConnectionPool

public JDBCConnectionPool(PropertiesReader reader)
Method Detail

getConnection

protected java.sql.Connection getConnection()
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

close

protected void close(java.sql.Connection con)
              throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright(C) 2003-2006 Kevin Scott - All Rights Reserved.