You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/08/06 07:15:38 UTC

[GitHub] [shardingsphere] jameszhongsq commented on issue #6657: java.lang.IllegalStateException: Missing the data source name

jameszhongsq commented on issue #6657:
URL: https://github.com/apache/shardingsphere/issues/6657#issuecomment-669751696


   去掉:
   spring.shardingsphere.sharding.tables.course.table-strategy.inline.sharding-column=create_time
   spring.shardingsphere.sharding.tables.course.table-strategy.inline.algorithm-expression=course_${202001..202008}
   下面的配置:database-strategy改为table-strategy就ok了。
   spring.shardingsphere.sharding.tables.course.database-strategy.standard.sharding-column=create_time
   spring.shardingsphere.sharding.tables.course.database-strategy.standard.precise-algorithm-class-name=com.shardingjdbcdemo.config.CourseTableShardingAlgorithm
   spring.shardingsphere.sharding.tables.course.database-strategy.standard.range-algorithm-class-name=com.shardingjdbcdemo.config.CourseTableShardingAlgorithm
   


----------------------------------------------------------------
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:
users@infra.apache.org