2018年11月12日

摘要: 1.1 String -> Date Java代码 String dateStr = "2010/05/04 12:34:23"; Date date = new Date(); //注意format的格式要与日期String的格式相匹配 DateFormat sdf = new SimpleDat 阅读全文
posted @ 2018-11-12 16:52 偽人 阅读(78) 评论(0) 推荐(0) 编辑

2018年10月19日

摘要: 1,ctrl+q 打开查询窗口2,ctrl+/ 注释sql语句3,ctrl+shift +/ 解除注释4,ctrl+r 运行查询窗口的sql语句5,ctrl+shift+r 只运行选中的sql语句6,F6 打开一个mysql命令行窗口7,ctrl+d (1):查看表结构详情,包括索引 触发器,存储过 阅读全文
posted @ 2018-10-19 12:47 偽人 阅读(121) 评论(0) 推荐(0) 编辑
 
摘要: 左连接: 格式: select 列1,列2,列N from tableA left join tableB on tableA.列 = tableB.列(正常是一个外键列) [此处表连接成一张大表,完全当成一张普通表看] where,having,group by …照常写。 理解: 左连接:即以左 阅读全文
posted @ 2018-10-19 11:28 偽人 阅读(1895) 评论(0) 推荐(0) 编辑

2018年9月21日

摘要: https://blog.csdn.net/code_shadow/article/details/80372516 阅读全文
posted @ 2018-09-21 12:19 偽人 阅读(563) 评论(0) 推荐(0) 编辑

2018年9月12日

摘要: 存盘 Ctrl+s(肯定知道) 注释代码 Ctrl+/ 取消注释 Ctrl+\(Eclipse3已经都合并到Ctrl+/了) 代码辅助 Alt+/ 快速修复 Ctrl+1 代码格式化 Ctrl+Shift+f 整理导入 Ctrl+Shift+o 切换窗口 Ctrl+f6 <可改为ctrl+tab方便 阅读全文
posted @ 2018-09-12 11:43 偽人 阅读(137) 评论(0) 推荐(0) 编辑

2018年8月28日

摘要: https://www.w3cschool.cn/ 阅读全文
posted @ 2018-08-28 17:55 偽人 阅读(85) 评论(0) 推荐(0) 编辑
 
摘要: beans.xml: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchem 阅读全文
posted @ 2018-08-28 15:20 偽人 阅读(73) 评论(0) 推荐(0) 编辑

2018年8月27日

摘要: http://www.oracle.com/technetwork/java/javase/downloads/index.html JAVA下載地址 http://commons.apache.org/logging/ Apache Commons Logging API 下載地址 http:// 阅读全文
posted @ 2018-08-27 18:50 偽人 阅读(85) 评论(0) 推荐(0) 编辑
 
摘要: hibernate 的作用是控制數據庫 1,首先要導入相關的jar包在WebRoot->WebInf->lib 2,配置好hibernate.cfg.xml 配置步驟:1數據庫名字, 2數據庫密碼,3數據庫驅動,4數據庫url,5數據庫方言,6需要映射domain地址 3,在實現類寫操作方法 寫法步 阅读全文
posted @ 2018-08-27 12:06 偽人 阅读(63) 评论(0) 推荐(0) 编辑

2018年8月24日

摘要: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apach 阅读全文
posted @ 2018-08-24 14:44 偽人 阅读(103) 评论(0) 推荐(0) 编辑
 

hi2