edu.jhu.tmaj.database.conn
Interface ConnectionFactory

All Known Implementing Classes:
AbstractConnectionFactory, MySqlConnectionFactory, OracleConnectionFactory, SQLServerConnectionFactory, SybaseConnectionFactory

interface ConnectionFactory

A ConnectionFactory is used to generate new Connections to the database. This is different than a ConnectionManager which manages existing connections. * Thus, a ConnectionManager manages connections, while a ConnectionFactory generates them.


Method Summary
 java.sql.Connection getNewConnection()
          Returns a NEW connection to the database
 

Method Detail

getNewConnection

java.sql.Connection getNewConnection()
                                     throws java.sql.SQLException
Returns a NEW connection to the database

Throws:
java.sql.SQLException