为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:8.0
【操作系统】:macos
【CPU】: intel
【问题描述】*:springboot中集成了mybatis-plus,查询数据库时
报数据类型不匹配,sql语句中的where条件中有两个字段是blob类型
SELECT id, registered_client_id, principal_name, authorization_grant_type, authorized_scopes, attributes, state, authorization_code_value, authorization_code_issued_at, authorization_code_expires_at,authorization_code_metadata,access_token_value,access_token_issued_at,access_token_expires_at,access_token_metadata,access_token_type,access_token_scopes,oidc_id_token_value,oidc_id_token_issued_at,oidc_id_token_expires_at,oidc_id_token_metadata,refresh_token_value,refresh_token_issued_at,refresh_token_expires_at,refresh_token_metadata FROM oauth2_authorization WHERE state = ? OR authorization_code_value = ? OR access_token_value = ? OR refresh_token_value = ?
authorization_code_value ,access_token_value, refresh_token_value ,这三个字段是blob类型
数据是由mysql8中迁移过来的,mysql8中查询时没有报错,程序运行也没有报错