我之前的导入了一个工程,连接的是远程的数据库,现在我想连本地数据库。却不行,求大神指点!
public class Configuration {
/**
*连接池配置
*/
//public static String ConnectionMode = "syspool";
public static String ConnectionMode = "direct";
public static String ConnectionPoolFor = "网银管理平台V2010";
public static String ConnectionPoolName = "jdbc/sqlserver";
public static String DB_URL = "jdbc:microsoft:sqlserver://158.15.15.15:1433;DatabaseName=test";
public static String DB_JDBCDRIVER = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
public static String DB_USERNAME = "sa";
public static String DB_PASSWORD = "123456";
public static String DB_MAXCONNNUM = "500";
public static String DB_WEBLOGFILE = "D:\\Monitor\\log\";
public static String DB_LOGLEVEL = "1";
public static String DB_SESSION = "300";//分钟
public static DBConnectionManager connMgr = DBConnectionManager.getInstance();//= null;
public static int PageRefreshRate; //页面刷新频率
public static int TimerDelay; //定时器间隔期
public static int WarningDelayInterval; //警告窗口停留的间隔期
public static int DataManageInterval; //清理历史数据的间隔期
System.out.println("1111111111111111111");
/**
* 每页显示记录数(分页用)
*/
public static int Number_shown = 100;
//读取XML配置
}