摘要: 执行更新操作时,timestamp类型的字段自动被更新为了系统当前日期原因是设计表时勾选了根据当前时间戳更新。。。。。对表的设计掌握还是比较差。 阅读全文
posted @ 2013-10-30 21:25 李鬼989 阅读(305) 评论(0) 推荐(0) 编辑
摘要: //String path = System.getProperty("user.dir") + "\\src\\dbpool.properties"; // 路径 /** * 加载配置文件 */ // FileInputStream is = new FileInputStream(path); Properties props = new Properties(); props.load(getClass().getRe... 阅读全文
posted @ 2013-10-30 11:14 李鬼989 阅读(160) 评论(0) 推荐(0) 编辑