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 2021/10/14 07:20:09 UTC

[GitHub] [shardingsphere] Zhangyahuidesigner opened a new issue #13036: there is JSON type columns in mysql, and then an error is reported when loading the database

Zhangyahuidesigner opened a new issue #13036:
URL: https://github.com/apache/shardingsphere/issues/13036


   private ColumnMetaData loadColumnMetaData(Map<String, Integer> dataTypeMap, ResultSet resultSet) throws SQLException {
         String columnName = resultSet.getString("COLUMN_NAME");
         String dataType = resultSet.getString("DATA_TYPE");
         boolean primaryKey = "PRI".equals(resultSet.getString("COLUMN_KEY"));
         boolean generated = "auto_increment".equals(resultSet.getString("EXTRA"));
         String collationName = resultSet.getString("COLLATION_NAME");
         boolean caseSensitive = null != collationName && !collationName.endsWith("_ci");
         return new ColumnMetaData(columnName, (Integer)dataTypeMap.get(dataType), primaryKey, generated, caseSensitive);
    }
   
   
   
   
   this is error code for shardingSphere5.0.0-beta 


-- 
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] sandynz closed issue #13036: there is JSON type columns in mysql, and then an error is reported when loading the database

Posted by GitBox <gi...@apache.org>.
sandynz closed issue #13036:
URL: https://github.com/apache/shardingsphere/issues/13036


   


-- 
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] Zhangyahuidesigner commented on issue #13036: there is JSON type columns in mysql, and then an error is reported when loading the database

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


   thank you


-- 
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] zjcnb commented on issue #13036: there is JSON type columns in mysql, and then an error is reported when loading the database

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


   @Zhangyahuidesigner Hi, this problem are fixed. you can try it in master branch or wait for 5.0.0-RC1 version 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