RaigorJiang commented on issue #25954:
URL: 
https://github.com/apache/shardingsphere/issues/25954#issuecomment-1676342828

   @wgijja 
   After I started the demo you provided, I sent some requests to the 
controller and found some problems:
   1. The mapper.xml does not match the entity, such as `OrderMapper.xml` (you 
need to check your project carefully)
   2. When using `shardingsphere-jdbc-core-spring-boot-starter,` we cannot rely 
on `druid-spring-boot-starter`. If you need druid, please non-starter 
dependencies.
   
   Finally, I made some changes so that some SQL of `Order` can be executed in 
sharding. You can download the demo and access the following interfaces, and 
observe the SQL routing information from the log.
   
   - http://localhost:9999/test/dropTable
   - http://localhost:9999/test/createTable
   - http://localhost:9999/test/orderList
   
   ---
   
   <img width="1423" alt="image" 
src="https://github.com/apache/shardingsphere/assets/5668787/bbbbbf25-9d79-4b92-9020-3c9dce49a72a";>
   
   ---
   
   
[sharding-jdbc-demo-0813.zip](https://github.com/apache/shardingsphere/files/12329492/sharding-jdbc-demo-0813.zip)
   
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to