|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javaWebGen.data.JDBCConnectionPool
public class JDBCConnectionPool
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.
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 |
---|
public JDBCConnectionPool(PropertiesReader reader)
Method Detail |
---|
protected java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
protected void close(java.sql.Connection con) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |