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

   Standalone mode default run with hikari pool,but i replace with druid even 
it works fine.
   i found the follow code,
   `JDBCRepository.java`
   ````
   public void init(final Properties props) {
           JDBCRepositoryProperties jdbcRepositoryProps = new 
JDBCRepositoryProperties(props);
           hikariDataSource = new HikariDataSource();
           String jdbcUrl = 
jdbcRepositoryProps.getValue(JDBCRepositoryPropertyKey.JDBC_URL);
           hikariDataSource.setJdbcUrl(jdbcUrl);
           
hikariDataSource.setUsername(jdbcRepositoryProps.getValue(JDBCRepositoryPropertyKey.USERNAME));
           
hikariDataSource.setPassword(jdbcRepositoryProps.getValue(JDBCRepositoryPropertyKey.PASSWORD));
           try (
                   Connection connection = hikariDataSource.getConnection();
                   Statement statement = connection.createStatement()) {
               provider = 
TypedSPILoader.getService(JDBCRepositoryProvider.class, 
jdbcRepositoryProps.getValue(JDBCRepositoryPropertyKey.PROVIDER));
               if (!jdbcUrl.contains(H2_FILE_MODE_KEY)) {
                   statement.execute(provider.dropTableSQL());
               }
               statement.execute(provider.createTableSQL());
           }
       }
   ````
   
   whatever i do the hikari pool both running.
   so a problem is coming,my app has two datasource,even though the primary is 
druid,but i want exclude hikari ,how do i can resolve this sense
   thanks!


-- 
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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to