public class ScriptDBConnect
extends java.lang.Object
Constructor and Description |
---|
ScriptDBConnect() |
Modifier and Type | Method and Description |
---|---|
static java.sql.Connection |
getConnection(java.util.Properties properties)
Get the connection, give the properties from a Maximo properties file.
|
static LoggingConnection |
getSubConnection(java.util.Properties properties,
java.lang.String user,
java.lang.String pswd)
This is used by MT to get the other connections, besides the master.
|
public static java.sql.Connection getConnection(java.util.Properties properties) throws java.lang.Exception
properties
- java.lang.Exception
public static LoggingConnection getSubConnection(java.util.Properties properties, java.lang.String user, java.lang.String pswd) throws java.lang.Exception
master
- java.lang.Exception