
spring2.x
zuoanlove
这个作者很懒,什么都没留下…
展开
-
发现了Spring2.5里的一个新东西, BeanPropertyRowMapper类
转载自:http://www.blogjava.net/cmzy/archive/2008/09/11/228271.html今天看SpringAPI的时候无意中发现了Spring2.5新增了一个RowMapper的实现类org.springframework.jdbc.core.BeanPropertyRowMapper,但是貌似Spring的refrence里面根本就没提及到。Go转载 2013-02-08 16:19:52 · 485 阅读 · 0 评论 -
利用cglib给javabean动态添加属性
转载自:http://blog.youkuaiyun.com/ajun_studio/article/details/6807181#comments不知道大家有没有遇到过这样的需求 ,就java运行的时候 动态给你java对象添加属性,最近在项目终于到了,想到了反射去实现,但是最终也没有搞出来。。。哎。。有的时候 比如你用的是hibernate或者Spring jdbc 来做转载 2013-02-08 16:40:37 · 779 阅读 · 0 评论 -
Spring JdbcTemplate 无效的列索引错误
转载自:http://blog.youkuaiyun.com/yishengreai/article/details/5985287报错信息类似:executing PreparedStatementCallback [org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator@14041ec]): e转载 2013-02-20 21:46:34 · 503 阅读 · 0 评论 -
Spring的任务计划
转载自:http://wangtong40.iteye.com/blog/671543定制任务计划可以采取两种方式:1、使用Java自带的Timer定时器。2、使用Quartz定时器框架。 1.1 Timer1.1.1 Timer在 Java 中提供了 Timer 定时器,用于间隔一定时间期内,自动运行某程序的功能。 编写 Timer 需要转载 2013-03-12 20:26:23 · 451 阅读 · 0 评论 -
spring+quartz详解
转载自:http://www.cnblogs.com/vigarbuaa/archive/2013/01/03/2843427.html1. 首先用一个纯quartz例子讲一下quartz的基本概念 其中有两个基本概念,job(封装业务)与trigger(任务调度),trigger又分两种,simpleTrigger与cronTrigger,分别模拟了window下的s转载 2013-03-12 20:24:14 · 635 阅读 · 0 评论 -
Problems with JDBCTemplate and CLOB insertion
当用spring jdbcTemplate执行merge语句时,总会出现”非法列类型提示“,通过google找到了以下这篇文章,目前没有采用以下这种方式,先记录下以备日后参考转载自:http://forum.springsource.org/showthread.php?129285-Problems-with-JDBCTemplate-and-CLOB-insertionPr转载 2013-03-28 21:12:40 · 519 阅读 · 0 评论