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 2022/12/19 03:26:33 UTC

[GitHub] [shardingsphere] chenws1012 opened a new issue, #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?

chenws1012 opened a new issue, #22962:
URL: https://github.com/apache/shardingsphere/issues/22962

   <img width="1521" alt="image" src="https://user-images.githubusercontent.com/17613152/208341638-f5c187c5-95be-4f8c-9665-50618b50b9bb.png">
   


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #22962:
URL: https://github.com/apache/shardingsphere/issues/22962#issuecomment-1367689827

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


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] FlyingZC commented on issue #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?

Posted by GitBox <gi...@apache.org>.
FlyingZC commented on issue #22962:
URL: https://github.com/apache/shardingsphere/issues/22962#issuecomment-1357045676

   The springboot configuration has been removed in version 5.3.0, you can use the yaml configuration of shardingsphere.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN closed issue #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?
URL: https://github.com/apache/shardingsphere/issues/22962


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] pengxianggui commented on issue #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?

Posted by GitBox <gi...@apache.org>.
pengxianggui commented on issue #22962:
URL: https://github.com/apache/shardingsphere/issues/22962#issuecomment-1370366555

   > > You may refer to: https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/
   > 
   > This way of integrating springboot makes it difficult to overwrite environment variables. For example:
   > 
   > ```
   > spring:
   >   datasource:
   >     url: jdbc:shardingsphere:classpath:application-sharding.yml
   >     driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
   > ```
   > 
   > application-sharding.yml:
   > 
   > ```
   > dataSources:
   >   db0: 
   >     dataSourceClassName: com.zaxxer.hikari.HikariDataSource 
   >     driverClassName: com.mysql.cj.jdbc.Driver
   >     jdbcUrl: jdbc:mysql://${spring.datasource.host}:${spring.datasource.port}/${spring.datasource.schema-name:asoco_alarm_platform}?${spring.datasource.suffix} 
   >     username: ${spring.datasource.username}
   >     password: ${spring.datasource.password}
   > ```
   > 
   > How these variables are overridden by environment variables is a big problem. How could I override such as `${spring.datasource.host}`?
   
   [see it](https://github.com/apache/shardingsphere/issues/23283)


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] pengxianggui commented on issue #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?

Posted by GitBox <gi...@apache.org>.
pengxianggui commented on issue #22962:
URL: https://github.com/apache/shardingsphere/issues/22962#issuecomment-1369417490

   > You may refer to: https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/
   
   This way of integrating springboot makes it difficult to overwrite environment variables. 
   For example:
   ```
   spring:
     datasource:
       url: jdbc:shardingsphere:classpath:application-sharding.yml
       driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
   ```
   application-sharding.yml:
   ```
   dataSources:
     db0: 
       dataSourceClassName: com.zaxxer.hikari.HikariDataSource 
       driverClassName: com.mysql.cj.jdbc.Driver
       jdbcUrl: jdbc:mysql://${spring.datasource.host}:${spring.datasource.port}/${spring.datasource.schema-name:asoco_alarm_platform}?${spring.datasource.suffix} 
       username: ${spring.datasource.username}
       password: ${spring.datasource.password}
   ```
   How these variables are overridden by environment variables is a big problem. How could I override such as `${spring.datasource.host}`?


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] Comven commented on issue #22962: May I ask when will maven central repository push shardingsphere-jdbc-core-spring-boot-starter 5.3.0?

Posted by GitBox <gi...@apache.org>.
Comven commented on issue #22962:
URL: https://github.com/apache/shardingsphere/issues/22962#issuecomment-1374772387

   怎么发来发去连yml提示信息都没有。


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org