util.sql
Class ConnectionManager

java.lang.Object
  |
  +--util.sql.ConnectionManager

public class ConnectionManager
extends java.lang.Object

Class to retrieve database connections. Warning: This class is only for testing purposes! It retrieves a raw connection using a MySQL driver and user.password "test/test".

Since:
12/03/2001
Version:
1.0
Author:
Ryan Daigle

Constructor Summary
ConnectionManager()
           
 
Method Summary
static java.sql.Connection getConnection()
          Returns a connection to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManager

public ConnectionManager()
Method Detail

getConnection

public static java.sql.Connection getConnection()
Returns a connection to the database. WARNING: This class is only for demonstration purposes. For real world implementations, a pool should be used as a source of connections.
Returns:
java.sql.Connection to a database specified internally
Throws:
SQLException -