原因:事务没有提交,事务提交后正常
Transaction tx = session.beginTransaction();
tx.commit(); //缺少这句话
hibernate(nested transactions not supported)异常
原文:http://www.cnblogs.com/lmq-1048498039/p/6941153.html