- 博客(3)
- 收藏
- 关注
原创 JdbcTemplate 源码
/* * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
2012-05-18 10:38:12
958
原创 JdbcTemplate query查询方法
JdbcTemplate 中有很多的查询方法,整理几个比较常用的方法。1、queryFor*方法很好用,简单强大。2、query查询方法中带有回调接口有三个:ResultSetExtractor、RowCallbackHandler、RowMapper 使用ResultSetExtractor时,一般是直接new ResultSetExtractor(),然后在extractData(R
2012-05-18 10:27:17
14588
原创 spring3.1.1+struts2.3.3组合
spring3.1.1和struts2.3.3都发布了GA版本,于是下载整合到一起。新建web工程,将spring3.1.1和struts2.3.3下载后,然后将所有的jar包放到项目中,这些jar不是全部有用,建议删除一些,或者加上其他的jar,项目才能正常运行。建议删除的jar:struts2-portlet*.jar,struts2-gxp*.jar,struts2-osgi*.
2012-05-08 16:10:15
1016
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人