12 2016 档案

摘要:select * form user where username = ''/1; 一开始一看以为还是错误的语法.... 结果出来一堆结果.. 原来条件是 ''除以1 ''除以1 结果是什么呢? 原来在mysql里面 会做隐式转换(优先级转换) 字符串转换结果: 'abc' 转换为 0 '25a'转 阅读全文
posted @ 2016-12-28 16:25 orac 阅读(2538) 评论(1) 推荐(0)
摘要:Error creating bean with name 'backPrintPaperController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.fa 阅读全文
posted @ 2016-12-21 13:52 orac 阅读(4684) 评论(2) 推荐(0)
摘要:1.这个是HTML5的属性. h5的好简单.... placeholder="这里输入文字" 2.HTML的: value="你的提示文字" onFocus="if(value==defaultValue){value='';this.style.color='#000'}" onBlur="if( 阅读全文
posted @ 2016-12-21 11:27 orac 阅读(53585) 评论(0) 推荐(0)
摘要:错误: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/business/config/web-application-config.xml]; nested exception is 阅读全文
posted @ 2016-12-21 10:17 orac 阅读(2819) 评论(0) 推荐(0)
摘要:对于有大数字的CSV文件,应使用导入,而不是打开。这里以Excel2010为例,其它版本也可以参照: 打开Excel,此时Excel内为空白文档 点击工具栏中的【数据】→【自文本】 在“导入文本文件”窗口中,选择你要打开的CSV文件 在弹出“文本导入向导 - 第1步”点击下一步 “文本导入向导 - 阅读全文
posted @ 2016-12-15 13:53 orac 阅读(18022) 评论(1) 推荐(2)
摘要:ORACLE: select TO_DATE('19700101', 'yyyymmdd') + 1481148929 / 86400 + TO_NUMBER(SUBSTR(TZ_OFFSET(sessiontimezone), 1, 3)) / 24 from dual JAVA: Long ti 阅读全文
posted @ 2016-12-08 15:05 orac 阅读(287) 评论(0) 推荐(0)