|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommands.DbUtilities
| Constructor Summary | |
DbUtilities()
|
|
| Method Summary | |
static void |
dbClose(java.sql.Connection dbConn)
Close a pooled JNDI database connection. |
static java.sql.Connection |
dbConnect(java.lang.String dbContext)
Establish a JNDI pooled database connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DbUtilities()
| Method Detail |
public static java.sql.Connection dbConnect(java.lang.String dbContext)
throws java.lang.Exception
dbContext - String containing the JNDI Context
java.lang.Exception - indicating the connection failedpublic static void dbClose(java.sql.Connection dbConn)
dbConn - Connection to the database
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||