cayenne/src/main/java/org/apache/cayenne/dba/db2/DB2EJBQLConditionTranslator.java [37:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean visitTrim(EJBQLExpression expression, int finishedChildIndex) {
        if (finishedChildIndex < 0) {
            if (!(expression.getChild(0) instanceof EJBQLTrimSpecification)) {
                context.append(" {fn TRIM(");
            }
        } else if (finishedChildIndex + 1 == expression.getChildrenCount()) {
            context.append(")}");
        }

        return true;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cayenne/src/main/java/org/apache/cayenne/dba/firebird/FirebirdEJBQLConditionTranslator.java [37:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean visitTrim(EJBQLExpression expression, int finishedChildIndex) {
        if (finishedChildIndex < 0) {
            if (!(expression.getChild(0) instanceof EJBQLTrimSpecification)) {
                context.append(" {fn TRIM(");
            }
        } else if (finishedChildIndex + 1 == expression.getChildrenCount()) {
            context.append(")}");
        }

        return true;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



