liuyangming 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-523852891 > it's just my advice for your example code to use `DataSourceUtils.getConnection`. in fact, mybatis-spring, or jpa will invoke this method in their framework, biz code will not consider about it. Relative to shardingjdbc, the mybatis-spring and jpa are upper-level frameworks. It is not very suitable for shardingjdbc to rely on them. Furthermore, there are some business systems that use the raw DataSources directly, and shardingjdbc should also support them. Again, this is just my personal opinion, think about it, if you want.
---------------------------------------------------------------- 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
