📄 techconfsystemconstants.java
字号:
package cs636.techconf.config;
// These constants would usually be specified in a "properties file", but
// we are keeping things simple here--
public class TechconfSystemConstants {
// for ease of testing, handle only a few rooms--
public static final int NUM_OF_ROOMS = 10;
public static final String MYSQL_DRIVER = "com.mysql.jdbc.Driver";
public static final String MYSQL_CONN_STR_PREFIX = "jdbc:mysql://";
public static final int MYSQL_SERVER_PORT_NUM = 3306;
public static final String MYSQL_SERVER_HOST = "fantasyland.cs.umb.edu";
// for local MySQL installation--
//public static final String MYSQL_SERVER_HOST = "localhost";
// if the hostname fantasyland is not known to DNS--
// from outside UMB this is its IP address
// public static final String MYSQL_SERVER_HOST = "158.121.104.84";
public static final String ORACLE_DRIVER = "oracle.jdbc.OracleDriver";
public static final String ORACLE_CONN_STR_PREFIX = "jdbc:oracle:thin:@";
public static final int ORACLE_SERVER_PORT_NUM = 1521;
public static final String ORACLE_SERVER_HOST = "dbs2.cs.umb.edu";
public static final String ORACLE_SERVER_SID ="dbs2";
public static final String HSQLDB_DRIVER = "org.hsqldb.jdbcDriver";
public static final String HSQLDB_CONN_STR_PREFIX = "jdbc:hsqldb:hsql://localhost/";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -