摘要: mybatis 中使用 sqlMap 进行 sql 查询时,经常需要动态传递参数,例如我们需要根据用户的姓名来筛选用户时,sql 如下: 上述 sql 中,我们希望 name 后的参数 "ruhua" 是动态可变的,即不同的时刻根据不同的姓名来查询用户。在 sqlMap 的 xml 文件中使用如下的 阅读全文
posted @ 2017-08-22 21:56 李慕白520 阅读(434) 评论(0) 推荐(0)
摘要: ##Example example = new ##Example(); example.setOrderByClause("字段名 ASC"); //升序排列,desc为降序排列。 example.setDistinct(false)//去除重复,boolean型,true为选择不重复的记录。 Criteria criteria = new Example().crea... 阅读全文
posted @ 2017-08-22 21:53 李慕白520 阅读(311) 评论(0) 推荐(0)
摘要: 删除Eclipse subclipse plugin中记住的SVN用户名密码: 1) 查看你的Eclipse中使用的是什么SVN Interface windows > preference > Team > SVN #SVN Interface 2.)如果是用的JavaHL, 找到以下目录并删除a 阅读全文
posted @ 2017-08-22 18:08 李慕白520 阅读(179) 评论(0) 推荐(0)
摘要: 作者:朱小杰 前言:本教程用于Lucene3.5,Maven地址为 <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-core</artifactId> <version>3.5.0</version> </de 阅读全文
posted @ 2017-08-22 11:32 李慕白520 阅读(275) 评论(0) 推荐(0)
摘要: 【问题描述】如何在HTML中嵌入pdf、word,音频(如mp3),视频(如mp4),flash呢? 【分析】 1 嵌入pdf (1) 利用object <object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="1000" 阅读全文
posted @ 2017-08-22 11:20 李慕白520 阅读(564) 评论(0) 推荐(0)
摘要: 狼-志 EVENT event 设置或获取脚本编写用于的事件 FOR htmlFor 设置或获取绑定到事件脚本的对象。 可以这样理解。 <script language= "javascript " for= "window " event= "onload "> 相当于 <script langu 阅读全文
posted @ 2017-08-22 10:49 李慕白520 阅读(150) 评论(0) 推荐(0)