|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.idgis.giserver.JDBCConnectionPool
public final class JDBCConnectionPool
Connection pool for JDBC connections to data bases.
Constructor Summary | |
---|---|
JDBCConnectionPool()
|
Method Summary | |
---|---|
static void |
freeConnection(java.sql.Connection conn)
The freeConnection method simply returns a JDBC connection to the pool. |
static java.sql.Connection |
getConnection(JDBC_ConnectionParams jdbc)
reate a JDBC connection to a data base. |
static java.sql.Connection |
getConnection(java.lang.String driverClassName,
java.lang.String url,
java.util.Properties props)
Create a JDBC connection to a data base. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCConnectionPool()
Method Detail |
---|
public static java.sql.Connection getConnection(java.lang.String driverClassName, java.lang.String url, java.util.Properties props)
driverClassName
- the class name of the serving driverurl
- props
- properties ( user and password)
public static void freeConnection(java.sql.Connection conn)
Jdbc3Connection
- the used connection.public static java.sql.Connection getConnection(JDBC_ConnectionParams jdbc)
jdbc
- parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |