cherrylzhao commented 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 within 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:
[email protected]


With regards,
Apache Git Services

Reply via email to