huangxinjian commented on issue #19766:
URL: 
https://github.com/apache/shardingsphere/issues/19766#issuecomment-1201973310

   BUT the sql problem can't solve despite add `MySQLRepository`. Because class 
`JDBCRespository` hava hard code for get value
   ```sql
   try (ResultSet resultSet = preparedStatement.executeQuery()) {
                   List<String> resultChildren = new LinkedList<>();
                   while (resultSet.next()) {
                       String childrenKey = resultSet.getString("key");  // 
hard code
                       if (Strings.isNullOrEmpty(childrenKey)) {
                           continue;
                       }
                       int lastIndexOf = childrenKey.lastIndexOf(SEPARATOR);
                       resultChildren.add(childrenKey.substring(lastIndexOf + 
1));
                   }
                   return new ArrayList<>(resultChildren);
               }
   ```


-- 
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-unsubscr...@shardingsphere.apache.org

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

Reply via email to