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 2019/11/06 10:03:33 UTC

[GitHub] [incubator-shardingsphere] Joe192168 edited a comment on issue #3461: Sharding JDBC package differences

Joe192168 edited a comment on issue #3461: Sharding JDBC package differences
URL: https://github.com/apache/incubator-shardingsphere/issues/3461#issuecomment-550237138
 
 
   How to upgrade the org.apache program with the com.dangdang package?
   
   For example: 
   1、
   Map<String, DataSource> dataSourceMap = createDataSourceMap(dataSourceList);
   DataSourceRule dataSourceRule = new DataSourceRule(dataSourceMap);
   
   2、Shardingrule shardingrule = Shardingrule. Builder(). Datasourcerrule (datasourcerrule). Tablerules (newtablerule). Databaseshardingstrategy (New databaseshardingstrategy ("create time", new modulodatabaseshardingalgorithm()). Tableshardingstrategy (New tableshardingstrategy ("create time", new modulotableshardingalgorithm()). Build();
   
   This part needs to be modified. Can you provide a plan or idea on how to upgrade it?

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


With regards,
Apache Git Services