public static Condition createWildCardedStringCondition(final Field<String> field, final String filter) {
        return createWildCardedStringCondition(field, filter, true);
    }
If filter is wild carded (i.e. contains a '*') then it returns 'field.like(x)' where x has
'*' characters replaced by '%' and SQL wild cards '%' and '_' are escaped.
If filter is not wild carded it returns 'field.eq(filter)'
stroom-db-util/src/main/java/stroom/db/util/JooqUtil.java