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

shardingjdbc and springboot3 #54

Closed
trydofor opened this issue Jan 30, 2023 · 3 comments
Closed

shardingjdbc and springboot3 #54

trydofor opened this issue Jan 30, 2023 · 3 comments
Labels
investigate :no_bell: something may be defective

Comments

@trydofor
Copy link
Owner

trydofor commented Jan 30, 2023

since 5.3.0, sharding-jdbc-spring-boot-starter has been removed.
use as jdbc instead.

apache/shardingsphere#23389

@trydofor trydofor added the investigate :no_bell: something may be defective label Jan 30, 2023
@trydofor trydofor changed the title shardingjdbc与springboot3 shardingjdbc and springboot3 Jan 30, 2023
@trydofor
Copy link
Owner Author

https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/

<dependency>
    <groupId>org.apache.shardingsphere</groupId>
    <artifactId>shardingsphere-jdbc-core</artifactId>
    <version>${shardingsphere.version}</version>
</dependency>
# Configuring DataSource Drivers
spring.datasource.driver-class-name=org.apache.shardingsphere.driver.ShardingSphereDriver
# Specify a YAML configuration file
spring.datasource.url=jdbc:shardingsphere:classpath:xxx.yaml

@trydofor trydofor mentioned this issue Jan 30, 2023
7 tasks
@trydofor
Copy link
Owner Author

trydofor commented Feb 2, 2023

暂时不升级,保持在5.2系列,但持续关注

apache/shardingsphere#22469

@trydofor
Copy link
Owner Author

  • upgrade to 5.3.1
  • rename tst_中文也分表 table to tst_sharding
  • refactor DataSourceContext

trydofor added a commit that referenced this issue Mar 14, 2023
@trydofor trydofor added this to the EarthSpirit milestone Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate :no_bell: something may be defective
Projects
Archived in project
Development

No branches or pull requests

1 participant