Skip to content
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

Add SpringBean Creating Example for ShardingSphere 5.2.2 or 5.3.0 #1

Closed
linghengqian opened this issue Nov 29, 2022 · 1 comment · Fixed by #2
Closed

Add SpringBean Creating Example for ShardingSphere 5.2.2 or 5.3.0 #1

linghengqian opened this issue Nov 29, 2022 · 1 comment · Fixed by #2
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@linghengqian
Copy link
Owner

  • Removing Spring configuration from ShardingSphere apache/shardingsphere#22469 determined that SpringBoot Starter no longer exists for ShardingSphere. However, if a com.zaxxer.hikari.HikariDataSource is generated through the ShardingSphere JDBC Driver, it cannot be unwrapped into a org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource that can modify metadata.
  • This actually requires the active creation of a org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource spring bean to facilitate modification.
  • I will update the article and this git when the next version is released.
@linghengqian linghengqian added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 29, 2022
@linghengqian linghengqian self-assigned this Nov 29, 2022
@linghengqian
Copy link
Owner Author

  • I am working on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
1 participant