摘要:
IBATIS中关于iterate和‘$’与‘#’的应用 一个包含List元素的HashMap参数赋给sqlMap public int getCountById(String id, String title, List ids) throws Exception { Map paramMap=ne 阅读全文
posted @ 2014-11-16 16:23
ppjj
阅读(1043)
评论(0)
推荐(0)
摘要:
多数据源问题很常见,例如读写分离数据库配置。原来的项目出现了新需求,局方要求新增某服务器用以提供某代码,涉及到多数据源的问题。研究成果如下:1、首先配置多个datasource[html]view plaincopy2、写一个DynamicDataSource类继承AbstractRoutingDa... 阅读全文
posted @ 2014-11-16 16:02
ppjj
阅读(812)
评论(0)
推荐(0)
摘要:
Eclipse崩溃,错误提示:MyEclipse has detected that less than 5% of the 64MB of PermGen (Non-heap memory) space remains. It is strongly recommendedthat you exi... 阅读全文
posted @ 2014-11-16 15:03
ppjj
阅读(192)
评论(0)
推荐(0)
摘要:
原文参考http://www.javacodegeeks.com/2014/10/apache-commons-io-tutorial.html Apache Commons IO 包绝对是好东西,地址在http://commons.apache.org/proper/commons-io/,下面用... 阅读全文
posted @ 2014-11-16 14:58
ppjj
阅读(334)
评论(0)
推荐(0)