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/08/28 06:54:21 UTC

[GitHub] [incubator-shardingsphere] TravelEngineers opened a new issue #2938: SpringBoot 1.5.x how to use ?

TravelEngineers opened a new issue #2938: SpringBoot 1.5.x how to use ?
URL: https://github.com/apache/incubator-shardingsphere/issues/2938
 
 
   ## Question
   ### No1. 无法根据操作手册使用
   例如SpringBoot1.5.x与SpringBoot2.x的配置文件是有差异的, ShardingSphere 中的用户手册建议分开来写。例如数据库的驱动类,现在使用SpringBoot 1.5.x版本然后再使用手册中给出的配置,会出现如下错误:
   Description:
   Cannot determine embedded database driver class for database type NONE
   还是说ShardingSphere 目前不考虑支持SpringBoot1.5.x版本的了,如果是的话可以做一下适配吗?
   ### No2.操作手册说明优化
   ####SpringBoot use Yaml
   现在已经习惯使用yml来作为SpringBoot的首选配置,此处建议增加相关说明。
   ####Maven add last version config
   Maven建议使用使用SpringBoot官方文档中的介绍,直接写出样例的最新版本的配置,而不是让使用的小伙伴去自己找哇。
   eg:
   ```
   <dependency>
          <groupId>org.apache.shardingsphere</groupId>
          <artifactId>sharding-jdbc-core</artifactId>
          <version>4.0.0-RC1</version>
   </dependency>
   ```
   For English:
   ### No1 Cannot be used according to operation manual
   For example, the configuration files of SpringBoot 1.5.x and SpringBoot 2.x are different, and the user manual in SharingSphere suggests writing them separately. For example, the database driver class, now using SpringBoot version 1.5.x and then using the configuration given in the manual, will make the following mistakes:
   
   Description:
   
   Cannot determine embedded database driver class for database type NONE
   
   Or is ShardingSphere currently not considering support for SpringBoot version 1.5. x? If so, can you do some adaptation?
   ### No2 OPTIMIZATION OF OPERATION MANUAL DISCUSSIONS
   #### SpringBoot use Yaml
   Now that you're used to using YML as the preferred configuration for SpringBoot, it's recommended to add a description here.
   #### Maven add last version config
   Maven suggests using the introduction in SpringBoot's official documentation to write out the latest version of the configuration of the sample directly, rather than letting the little buddies use it to find out for themselves.
   eg:
   ```
   <dependency>
          <groupId>org.apache.shardingsphere</groupId>
          <artifactId>sharding-jdbc-core</artifactId>
          <version>4.0.0-RC1</version>
   </dependency>
   ```

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