Blog post

spring3+hibernate4 service 中多线程事务异常及解决

初次使用spring3结合hibernate4做项目,迅速配置完成,测试,一切正常。

然而,当我在service层中另外开启一个线程,线程中的方法需要进行数据库操作,这个时候,悲催的抛出了异常:-org.hibernate.HibernateException: No Session found for current thread

Authored by Last updated on 07/04/2019 - 21:23
Blog post

Intel Global IoT DevFest

Celebrating the FIRST EVER Global IoT DevFest! Registration is Still Open to Watch Replays! ATTENTION – There’s still time to sign up for the latest edition of our Intel Global IoT DevFest II on Nov 7-8th 2017.
Authored by Last updated on 07/10/2018 - 08:00