Error while commiting the transaction

来源:互联网 发布:免费扫街软件 编辑:程序博客网 时间:2024/06/01 07:11

SSH2+JPA,提示如下错误:


Stacktraces

org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while commiting the transaction
         
javax.persistence.RollbackException: Error while commiting the transaction
        
org.hibernate.ObjectDeletedException: deleted entity passed to persist: [com.myfw.qx.model.QxUserRole#]


0 0