xsul.xpola.db.conn
Class DBConnManager
java.lang.Object
xsul.xpola.db.conn.DBConnManager
- public class DBConnManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORACLE
public static final int ORACLE
- See Also:
- Constant Field Values
HSQL
public static final int HSQL
- See Also:
- Constant Field Values
MYSQL
public static final int MYSQL
- See Also:
- Constant Field Values
POSTGRE
public static final int POSTGRE
- See Also:
- Constant Field Values
DERBY
public static final int DERBY
- See Also:
- Constant Field Values
DATASOURCE
public static final int DATASOURCE
- See Also:
- Constant Field Values
getInstance
public static DBConnManager getInstance()
getInstance
public static DBConnManager getInstance(int dbType,
java.lang.String db,
java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Throws:
java.lang.Exception
init
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
getConnection
public java.sql.Connection getConnection()
throws java.lang.Exception
- Throws:
java.lang.Exception
IU Extreme! Lab (http://www.extreme.indiana.edu)