|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.examples.MyPCM
public class MyPCM
Constructor Summary | |
---|---|
MyPCM()
|
Method Summary | |
---|---|
java.sql.Connection |
getConnection()
Return a database connection (). |
boolean |
releaseConnection(java.sql.Connection connection)
Release a database connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyPCM()
Method Detail |
---|
public java.sql.Connection getConnection() throws java.lang.Exception
PCMConnection
getConnection
in interface PCMConnection
java.lang.Exception
- if a database access error occurs.public boolean releaseConnection(java.sql.Connection connection)
PCMConnection
releaseConnection
in interface PCMConnection
connection
- specify the connection to release.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |