2017年12月31日

createQuery is not valid without active transaction

摘要: hibernate事务支持 报createQuery is not valid without active transaction错误说明你的方法没有事务支持。 解决办法1:在hibernate或spring配置文件加入 <prop key="hibernate.current_session_c 阅读全文

posted @ 2017-12-31 11:27 愿生命从容 阅读(632) 评论(0) 推荐(0) 编辑

导航