-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we specify some specific database operations without parsing through the shardingsphere framework #4953
Comments
I misunderstand |
example: |
when we excute this sql |
No. SQL parser is the basic workflow with ShardingSphere. It is unnecessary to use ShardingSphere if user do not need SQL parser. It is the production design with ShardingSphere. Even the SQL parser is not perfect for now, we still need to do the SQL parse. |
Configure two DataSource, one is ShardingDataSource of ShardingSphere, one is a native DataSource of Hikari or Druid. Inject the first one when you want to sharding databases&tables. |
I will try it. |
Question
We used shardingsphere v5.0.0
There may be some instability now. We want to go around
When we use shardingsphere framework for sub database
Can we specify some specific database operations without parsing through the shardingsphere framework?
Some places are uncontrollable. We hope to directly perform DB operations through mybatis instead of shardingsphere,
The text was updated successfully, but these errors were encountered: