salto.tool.sql
Class ConnectionMgr
java.lang.Object
salto.tool.sql.ConnectionMgr
public class ConnectionMgr
- extends java.lang.Object
- Author:
- : E. Loiez
Constructor Summary |
ConnectionMgr()
Constructor for ConnectionMgr. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionMgr
public ConnectionMgr()
- Constructor for ConnectionMgr.
remove
public static void remove(ConnectionInfo connInfo)
disconnectAll
public static void disconnectAll()
disconnect
public static void disconnect(ConnectionInfo connInfo)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
connect
public static void connect(ConnectionInfo connInfo)
throws java.sql.SQLException,
DatabaseException
- Throws:
java.sql.SQLException
DatabaseException
retrieve
public static final java.lang.Object[][] retrieve(java.sql.Connection conn,
java.lang.String query)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
update
public static final int update(java.sql.Connection conn,
java.lang.String query)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
update
public static final int update(java.sql.Connection conn,
java.lang.String query,
java.lang.Object[][] datas)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2002-2008 Salto Consulting. All Rights Reserved.