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
相关文章
相关标签/搜索