?? 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 + -