摘要:
/** * 配置文件工具类 * @author Administrator * */ public class ConfigUtil { /* 加载服务配置文件 */ private static Prop prop = PropKit.use(“test.properties”); private ConfigUtil(){} ... 阅读全文
摘要:
public class QuartzManager { public static StdSchedulerFactory factory = new StdSchedulerFactory(); public static String MODELNAME = "analyzerModel"; public static Scheduler scheduler = null; ... 阅读全文
摘要:
public class GetConnectionMysql { public static Connection getConnection(){ String driver="com.mysql.jdbc.Driver"; //获取mysql数据库的驱动类 String url="jdbc:mysql://133.96.46.100:3306/test"; //连接数据库(t... 阅读全文
摘要:
Select Name FROM DatabaseName.SysObjects Where XType='U' orDER BY Name 阅读全文
摘要:
public class GetConnectionSqlServer { public void getConnectionSqlServer() { String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; String dbURL = "jdbc:sqlserver://133.96.46.100:1... 阅读全文