gov.grants.apply.util
Class DBUtils

java.lang.Object
  extended bygov.grants.apply.util.DBUtils

public final class DBUtils
extends java.lang.Object

Utility class for configuring and creating Connections.

Author:
Brian Husted

Field Summary
(package private) static org.apache.log4j.Logger log
           
 
Method Summary
static java.sql.Connection getConnection()
          Creates a new Connection object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static final org.apache.log4j.Logger log
Method Detail

getConnection

public static java.sql.Connection getConnection()
                                         throws java.lang.Exception
Creates a new Connection object.

Returns:
the Connection.
Throws:
java.lang.Exception