#1849 - JoinColumn not found when using @Encrypted(dbEncryption = true) and findCount

This commit is contained in:
rob bygrave
2019-11-06 20:33:56 +13:00
parent d2c88bf7c6
commit 1a8a43603e
3 changed files with 69 additions and 1 deletions
@@ -104,7 +104,7 @@ public class SimpleExpression extends AbstractValueExpression {
return;
}
if (prop.isDbEncrypted()) {
String dsql = prop.getBeanProperty().getDecryptSql();
String dsql = prop.getBeanProperty().getDecryptProperty(propName);
request.append(dsql).append(type.bind());
return;
}