edu.jhu.tmaj.database.config
Class DatabaseConstants

java.lang.Object
  extended by edu.jhu.tmaj.database.config.DatabaseConstants

public final class DatabaseConstants
extends java.lang.Object

Represents the values found in database.properties file. This file is found in the config directory. For security reasons this file should not be checked into cvs. For sybase the port will be by default 2638; for oracle the default is 1521. The db_type must be one of the values in the enumeration class DatabaseTypes. This file is set up like this:

db_user = dba
db_pass = 12345
ip_address = 127.0.0.1
port = 2638
db_name = asademo
db_type = Sybase_ASA


Method Summary
static DatabaseLink getDatabaseLink()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDatabaseLink

public static DatabaseLink getDatabaseLink()