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
被删除了,不存在了。
那么问题是什么,有解决办法吗?