|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JDBCConnectionPool
Interface for implementing connection pools to be used with SQLContainer.
| Method Summary | |
|---|---|
void |
destroy()
Destroys the connection pool: close() is called an all the connections in the pool, whether available or reserved. |
void |
releaseConnection(Connection conn)
Releases a connection that was retrieved earlier. |
Connection |
reserveConnection()
Retrieves a connection. |
| Method Detail |
|---|
Connection reserveConnection()
throws SQLException
SQLExceptionvoid releaseConnection(Connection conn)
conn - Connection to be releasedvoid destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||