You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/30 02:53:59 UTC

[GitHub] [incubator-shardingsphere] fdlzp commented on issue #2138: Could not commit JPA transaction when I use save to insert data to oracledatabase

fdlzp commented on issue #2138: Could not commit JPA transaction when I use save to insert data to oracledatabase
URL: https://github.com/apache/incubator-shardingsphere/issues/2138#issuecomment-478199817
 
 
   只有新增不能成功,提示
   2019-03-30 09:54:23.490  WARN 4000 --- [nio-8080-exec-1] .m.m.a.ExceptionHandlerExceptionResolver : Resolved exception caused by Handler execution: org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction
   2019-03-30 09:54:24.013  INFO 4000 --- [nio-8080-exec-1] o.h.e.j.b.internal.AbstractBatchImpl     : HHH000010: On release of batch it still contained JDBC statements
   
   没有加上sharding-jdbc
   同样的方法save新增是可以
   
   现在报错不知道该怎么解决,
   
   请大佬指点下
   感激不尽

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services