Mybatis使用经验分享之批量操作 http://jingyan.baidu.com/article/11c17a2c7f376af446e39d21.html
解决方案 »
- 两个oracle数据库,需每天定时将一个数据库的数据写入到另外一个数据库,数据总量每天在2000w行左右
- Hibernate+jotm+jta+sql server+Tomcat事务不提交问题
- EJB初学问题
- 全文检索,正则表达式,like模糊查询
- 讨论:在struts2中如何定义首页(welcome-list中index.action无效),请高人指教
- webwork.configuration.xml.reload=true 无效
- 困惑
- spring3工程部署到linux服务器上之后mvc:view-controller配置失效
- 有没有前台解析不规则的html文件,解析为规则的xhtml的库或者方法
- 请问哪里有《J2EE设计开发编程指南》下载,最好中文
- springmvc rest 欢迎页的问题
- 关于springmvc 静态资源标签的问题<mvc:resources>
SELECT
*
FROM
XXObj
WHERE
group_id in
]]>
<foreach item="item" index="index" collection="groupIds"
open="(" separator="," close=")">
#{item}
</foreach>
</select>对应的mapper:
List<XXObj> getAllPlayerFabaoFrag(@Param("logicalServerNums") List<Integer> groupIds);
此时,就需要使用foreach来一次循环里面的每个值了。用法如下:
<foreach item="item" index="index" collection="list" open="(" separator="," close=")">
#{item}
</foreach>