Spring+Quartz+Hibernate做定时任务时不能获得Session的解决方法

今天在做项目是遇到,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

猜你喜欢

转载自blog.csdn.net/qq_31063463/article/details/73896189
今日推荐