userman
Class ManualConnection

java.lang.Object
  extended by userman.ManualConnection

public class ManualConnection
extends java.lang.Object

This class allows access to the optimization database without going through Glassfish configuration. Since it doesn't use connection pooling, it should not be used routinely, but only for situations where database connections are needed without running the application server.


Method Summary
static java.sql.Connection getConnection()
          getConnection is a class method that will retrieve the database connection, creating a new one if necessary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnection

public static java.sql.Connection getConnection()
getConnection is a class method that will retrieve the database connection, creating a new one if necessary.