HHH-6975 - SQL error "expected NUMBER got BINARY" when calling AuditReader.find().

Bug fixed for Oracle db but can't test it for any other db