11 2018 档案

摘要:JAVA: Calendar c = new GregorianCalendar(); log.error("c:"+c); c.set(Calendar.HOUR_OF_DAY,0); c.set(Calendar.MINUTE,0); c.set(Calendar.SECOND,0); c.se 阅读全文
posted @ 2018-11-24 12:56 一叶之灵 阅读(595) 评论(0) 推荐(0)
摘要:一个小程序,最初采用了 SqlServer 数据库,后来为了便于部署,转而采用了 Firebird 嵌入式数据库。在重构代码转到 Firebird 的过程中,对“数据实体的数据表的ID字段是否应该使用自增长字段”这个问题做了一些思考,在此做一些总结。 对于是否应该使用自增长的ID字段的问题,个人的观 阅读全文
posted @ 2018-11-23 10:57 一叶之灵 阅读(1025) 评论(0) 推荐(0)
摘要:参考文章1_JDK&Tomcat:https://blog.csdn.net/lcyaiym/article/details/76696192 参考文章2_JDK:https://www.cnblogs.com/c-xiaohai/p/6511294.html 参考文章3_Tomcat:https: 阅读全文
posted @ 2018-11-22 13:23 一叶之灵 阅读(200) 评论(0) 推荐(0)
摘要:一、错误信息 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorI 阅读全文
posted @ 2018-11-22 11:21 一叶之灵 阅读(1744) 评论(0) 推荐(0)
摘要:关机: shutdown -h now #立刻关机重启,工作中常用 shutdown -h +1 #1分钟后关机 init 0 halt #立即停止系统,需要人工关闭电源 halt -p # poweroff #立即停止系统,并且关闭电源 重启: reboot #工作中常用 shutdown -r 阅读全文
posted @ 2018-11-22 11:09 一叶之灵 阅读(243) 评论(0) 推荐(0)
摘要:Caused by: com.mysql.jdbc.exceptions.MySQLTimeoutException: Statement cancelled due to timeout or client request at com.mysql.jdbc.MysqlIO.sqlQueryDir 阅读全文
posted @ 2018-11-22 11:06 一叶之灵 阅读(13716) 评论(0) 推荐(0)
摘要:在 CentOS 中,可以通过 top 命令来查看 CPU 使用状况。运行 top 命令后,CPU 使用状态会以全屏的方式显示,并且会处在对话的模式 -- 用基于 top 的命令,可以控制显示方式等等。退出 top 的命令为 q (在 top 运行中敲 q 键一次)。 top命令是Linux下常用的 阅读全文
posted @ 2018-11-22 10:50 一叶之灵 阅读(996) 评论(0) 推荐(0)
摘要:1.用root 进入mysql后 mysql>set password =password('你的密码'); mysql>flush privileges; 2.使用GRANT语句 mysql>grant all on *.* to 'root'@'localhost' IDENTIFIED BY 阅读全文
posted @ 2018-11-22 10:45 一叶之灵 阅读(185) 评论(0) 推荐(0)
摘要:1.在百度上搜“MySQL”,进入官网 原文地址:https://blog.csdn.net/mieleizhi0522/article/details/79109195 阅读全文
posted @ 2018-11-22 10:36 一叶之灵 阅读(528) 评论(0) 推荐(0)
摘要:应用 MySQL 时,会遇到不能创建函数的情况。出现如下错误信息: ERROR 1418 : This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary loggin 阅读全文
posted @ 2018-11-22 10:30 一叶之灵 阅读(2383) 评论(0) 推荐(0)
摘要:### Cause: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1169 > 1024). You can change this value on the server by setting the m 阅读全文
posted @ 2018-11-22 10:27 一叶之灵 阅读(4418) 评论(0) 推荐(0)
摘要:获取: "pj1" : $("input[name='pj1']:checked").val(), 回显:$("input[name='pj1'][value='${con.pj1}']").attr("checked","checked"); JS: $("input[name='pj1'][va 阅读全文
posted @ 2018-11-22 10:11 一叶之灵 阅读(1005) 评论(0) 推荐(0)
摘要:一、网页地址 Java各版本下载地址: http://www.oracle.com/technetwork/cn/java/archive-139210-zhs.html Eclipse官方下载地址: http://www.eclipse.org/downloads/packages/ 从eclip 阅读全文
posted @ 2018-11-02 16:39 一叶之灵 阅读(172) 评论(0) 推荐(0)
摘要:错误类型: ERROR 1231 (42000): Variable 'time_zone' can't be set to the value of 'NULL' ERROR 1231 (42000): Variable 'sql_mode' can't be set to the value o 阅读全文
posted @ 2018-11-01 16:32 一叶之灵 阅读(2435) 评论(0) 推荐(0)
摘要:查看方式 1、先切换到:cd usr/local/tomcat5/logs2、tail -f catalina.out3、Ctrl+c 是退出tail命令/alt+E+R重置 Linux系统中tail命令 实例1:显示文件末尾内容 tail -n 5 log2014.log 显示文件最后5行内容 实 阅读全文
posted @ 2018-11-01 16:25 一叶之灵 阅读(5480) 评论(0) 推荐(0)