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:59:59 UTC

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

fdlzp edited a comment 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
 
 
   only when i use save to add ,then:
   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新增是可以
   I donnot know how to deal with it? 
   It would be better if someone could help me.
   
   

----------------------------------------------------------------
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