edu.columbia.cs.util
Class DBConn

java.lang.Object
  |
  +--edu.columbia.cs.util.DBConn

public class DBConn
extends java.lang.Object

Provides a connection to the a database using Code Studio's implementation of connection pooling.


Constructor Summary
DBConn(java.lang.String db)
          the private constructor
 
Method Summary
 java.sql.Connection getConnection()
          Returns a Connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBConn

public DBConn(java.lang.String db)
the private constructor
Method Detail

getConnection

public java.sql.Connection getConnection()
Returns a Connection.
Returns:
a Connection