|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PCMConnection
Must be implement by all classes used for managing the database connections
directly, without the use of a connection pool or datasource.
Method Summary | |
---|---|
java.sql.Connection |
getConnection()
Return a database connection (). |
boolean |
releaseConnection(java.sql.Connection connection)
Release a database connection. |
Method Detail |
---|
java.sql.Connection getConnection() throws java.lang.Exception
java.lang.Exception
- if a database access error occurs.boolean releaseConnection(java.sql.Connection connection)
connection
- specify the connection to release.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |