摘要: /** * 配置文件工具类 * @author Administrator * */ public class ConfigUtil { /* 加载服务配置文件 */ private static Prop prop = PropKit.use(“test.properties”); private ConfigUtil(){} ... 阅读全文
posted @ 2016-05-03 11:24 IAMME 阅读(2579) 评论(0) 推荐(0) 编辑
摘要: public class QuartzManager { public static StdSchedulerFactory factory = new StdSchedulerFactory(); public static String MODELNAME = "analyzerModel"; public static Scheduler scheduler = null; ... 阅读全文
posted @ 2016-05-03 11:11 IAMME 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2016-05-03 11:07 IAMME 阅读(3436) 评论(0) 推荐(0) 编辑
摘要: Select Name FROM DatabaseName.SysObjects Where XType='U' orDER BY Name 阅读全文
posted @ 2016-05-03 11:06 IAMME 阅读(100) 评论(0) 推荐(0) 编辑
摘要: public class GetConnectionSqlServer { public void getConnectionSqlServer() { String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; String dbURL = "jdbc:sqlserver://133.96.46.100:1... 阅读全文
posted @ 2016-05-03 11:06 IAMME 阅读(2233) 评论(0) 推荐(0) 编辑