org.hibernate.TransactionException: nested transactions not supported

org.hibernate.TransactionException: nested transactions not supported错误的解决方法!

用ssh架构进行开发的时候,配置hibernate如果出现org.hibernate.TransactionException: nested transactions not supported这个异常,

那是因为你的事务没有提交 ,检查下代码。

一般是实现DAO接口的那个java文件。Transaction的对象没有提交事务 也就是commit()这个方法

原文地址:https://www.cnblogs.com/SpringSmallGrass/p/3012903.html