hiit.util
Class DbConnectivity

java.lang.Object
  extended by hiit.util.DbConnectivity

public class DbConnectivity
extends java.lang.Object


Field Summary
static int DEFAULT_PORT
           
 
Constructor Summary
DbConnectivity()
           
 
Method Summary
static java.sql.Connection getConnection()
           
static java.sql.Connection getConnection(java.lang.String user, java.lang.String pwd, java.lang.String db, int dbport)
           
static java.sql.Connection getConnectionFromFile()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values
Constructor Detail

DbConnectivity

public DbConnectivity()
Method Detail

getConnection

public static java.sql.Connection getConnection()

getConnection

public static java.sql.Connection getConnection(java.lang.String user,
                                                java.lang.String pwd,
                                                java.lang.String db,
                                                int dbport)

getConnectionFromFile

public static java.sql.Connection getConnectionFromFile()