You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Yule-Momoko (via GitHub)" <gi...@apache.org> on 2023/12/14 01:45:30 UTC

[I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Yule-Momoko opened a new issue, #29399:
URL: https://github.com/apache/shardingsphere/issues/29399

   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   5.4.1
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   ### Expected behavior
   shardignJdbc 5.4.1 use HikariDataSource  or  DruidDataSource?
   ### Actual behavior
   
   ![image](https://github.com/apache/shardingsphere/assets/67772051/a45a7c97-8d6a-4340-8758-53634a7c5550)
   this why?
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "liming0 (via GitHub)" <gi...@apache.org>.
liming0 commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-2149204297

   @zhaojinchao95 @ReyYang Will this problem still be solved?


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855021440

   > I've noticed this issue hasn't been solved; are there any other solutions to this now?
   
   
   Sorry, not yet


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1890754857

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855013279

   Ref #24348


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855037168

   > > > I've noticed this issue hasn't been solved; are there any other solutions to this now?
   > > 
   > > 
   > > Sorry, not yet
   > 
   > Are there other versions that can avoid this problem?
   
   I think not, Maybe you can consider submit a pull request to optimization 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.

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

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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "ReyYang (via GitHub)" <gi...@apache.org>.
ReyYang commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855011361

   I'm having the same issue, here's my configuration
   
   sharding-jdbc.yaml:
   <img width="945" alt="image" src="https://github.com/apache/shardingsphere/assets/29473272/3a5d02f2-033a-4a87-b3de-d036bedc8895">
   
   <img width="708" alt="image" src="https://github.com/apache/shardingsphere/assets/29473272/c5b73d28-e478-4bd8-9f2f-c5f1aaad576a">
   
   
   application.properties:
   ```properties
   # 配置 DataSource Driver
   spring.datasource.driver-class-name=org.apache.shardingsphere.driver.ShardingSphereDriver
   # 指定 YAML 配置文件
   spring.datasource.url=jdbc:shardingsphere:classpath:sharding-jdbc.yaml
   ```
   
   When querying, I found that I did not use the data source I configured to query, but instead used HikariPool to query


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "ReyYang (via GitHub)" <gi...@apache.org>.
ReyYang commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855023130

   > > I've noticed this issue hasn't been solved; are there any other solutions to this now?
   > 
   > Sorry, not yet
   
   Are there other versions that can avoid this problem?


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #29399: shardignJdbc 5.4.1 use HikariDataSource  or  DruidDataSource
URL: https://github.com/apache/shardingsphere/issues/29399


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-2218622562

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "Yule-Momoko (via GitHub)" <gi...@apache.org>.
Yule-Momoko commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855021056

   Does it have to be cluster mode?


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855021246

   Sorry, not yet


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855038049

   > > > I've noticed this issue hasn't been solved; are there any other solutions to this now?
   > > 
   > > 
   > > Sorry, not yet
   > 
   > Does the druid connection count configuration still work if Hikari is actually used
   
   I don't know, you can try 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.

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

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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "ReyYang (via GitHub)" <gi...@apache.org>.
ReyYang commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855039876

   OK, I'll consider submitting my own PR later, but I need to run the project properly for now


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "ReyYang (via GitHub)" <gi...@apache.org>.
ReyYang commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855015762

   I've noticed this issue hasn't been solved; are there any other solutions to this now?
   


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "Yule-Momoko (via GitHub)" <gi...@apache.org>.
Yule-Momoko commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855035874

   > > I've noticed this issue hasn't been solved; are there any other solutions to this now?
   > 
   > Sorry, not yet
   
   Does the druid connection count configuration still work if Hikari is actually used


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


Re: [I] shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource [shardingsphere]

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #29399:
URL: https://github.com/apache/shardingsphere/issues/29399#issuecomment-1855042675

   > OK, I'll consider submitting my own PR later, but I need to run the project properly for now
   .
   Sorry, your PR can only be used in the next release.


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