cipher_column 是否不支持空查询 cipher_column 是否不支持空查询

cipher_column 是否不支持空查询?

例如:

String hql="from User where mobile=:mobile and idcard is not null";

手机和身份证文件 ID 有密码列。

expect SQL:

select * from user where mobile_cipher='XXX' and idcard_cipher is not null;

实际 SQL:

select * from user where mobile_cipher='XXX' and (idcard is not null);

但是 plain_column idcard 被删除了,不存在了。
那么问题是什么,有解决办法吗?

具体链接:https://github.com/apache/shardingsphere/issues/13017

3 个赞

可以百度一下具体的报错信息

1 个赞
京ICP备2021015875号