今天在做项目是遇到,Spring+Quartz+Hibernate做定时任务时不能获得Session;记录下来方便以后查看
方案如下:
http://forum.spring.io/forum/spring-projects/container/102822-how-to-get-a-quartz-job-to-use-a-hibernate-transaction-session