#465 - The encrypt key is logged out in sql statement - when included in where predicate

This commit is contained in:
Robin Bygrave
2015-11-30 12:25:25 +13:00
parent 6450ba219c
commit debd8ad617
9 changed files with 136 additions and 71 deletions
@@ -40,7 +40,7 @@ public class SimpleExpression extends AbstractExpression {
if (prop.isDbEncrypted()) {
// bind the key as well as the value
String encryptKey = prop.getBeanProperty().getEncryptKey().getStringValue();
request.addBindValue(encryptKey);
request.addBindEncryptKey(encryptKey);
}
//else if (prop.isLocalEncrypted()) {
// not supporting this for equals (but probably could)