Could not commit JPA transaction; nested exception is javax.persistence.RollbackException

新公司用的JPA,之前沒用過。在批量添加的時候遇到一個錯:Could not commit JPA transaction; nested exception is javax.persistence.RollbackExceptionjava 多數狀況是在提交數據以前事務已經拋出了RollbackException,或者是沒有使用@Transactional事務,我是前者sql   teache
相關文章
相關標籤/搜索