com.finalist.util.genelv.db
Class GenElvConnectionManager
java.lang.Object
com.finalist.util.genelv.db.GenElvConnectionManager
- All Implemented Interfaces:
- java.io.Serializable
- public class GenElvConnectionManager
- extends java.lang.Object
- implements java.io.Serializable
This class does the lookup for the database table to locate the error code / error type mapping
- Author:
- Gerard van de Weerd
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenElvConnectionManager
protected GenElvConnectionManager()
throws java.lang.ClassNotFoundException
- Default constructor. Loads my sql driver class;
getInstance
public static GenElvConnectionManager getInstance()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getConnection
protected java.sql.Connection getConnection()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
connect
public static java.sql.Connection connect()
throws java.sql.SQLException
- Create return connection calling methode is responsable for closing
this connection
- Returns:
- The Connection
- Throws:
java.sql.SQLException
- When the lookup failed or if there is no database
Copyright © 2003-2004 SourceForge. All Rights Reserved.