You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/08/21 08:13:40 UTC

[GitHub] [incubator-shardingsphere] cherrylzhao edited a comment on issue #2902: When shardingjdbc is integrated with spring, it‘s not compatible with the declarative transactions.

cherrylzhao edited a comment on issue #2902: When shardingjdbc is integrated with spring, it‘s not compatible with the declarative transactions.
URL: https://github.com/apache/incubator-shardingsphere/issues/2902#issuecomment-523348569
 
 
   I have reviewed your demo, I think you should forget JTA configuration in sharding-transaciton.
   sharding transaction can simply integrate with spring DataSourceTransactionManager.
   we have developed a experimental spring starter before, you can refer it in [sharding-transaction-spring](https://github.com/OpenSharding/shardingsphere-spi-impl/tree/master/sharding-spring), and [here](https://github.com/OpenSharding/shardingsphere-spi-impl-example/tree/master/transaction-example/transaction-2pc-xa-example) is example 
   
   hope this will help you.

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