org.apache.openjpa.persistence.ArgumentException: Encountered "cfg" at character 83, but expected: [",", ".", "GROUP", "HAVING", "INNER", "JOIN", "LEFT", "ORDER", "WHERE", <EOF>].

  1. 0

    I get org.apache.openjpa.persistence.ArgumentException while running a junit Test

    Stack Overflow | 4 months ago | vamshi krishna
    org.apache.openjpa.persistence.ArgumentException: Encountered "cfg" at character 83, but expected: [",", ".", "GROUP", "HAVING", "INNER", "JOIN", "LEFT", "ORDER", "WHERE", <EOF>].
  2. 0

    Parse Exception generated when using keyword UPPER

    openjpa-users | 3 years ago | cjackson
    org.apache.openjpa.persistence.ArgumentException: Encountered "UPPER ( x . value ) LIKE UPPER" at character 32, but expected: ["(", ")", "+", "-", ".", ":", "<", "<=", "<>", "=", ">", ">=", "?", "ABS", "ALL", "AND", "ANY", "AS", "ASC", "AVG", "BETWEEN", "BOTH", "BY", "CASE", "COALESCE", "CONCAT", "COUNT", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "DELETE", "DESC", "DISTINCT", "ELSE", "EMPTY", "END", "ESCAPE", "EXISTS", "FETCH", "FROM", "GROUP", "HAVING", "IN", "INDEX", "INNER", "IS", "JOIN", "KEY", "LEADING", "LEFT", "LENGTH", "LIKE", "LOCATE", "LOWER", "MAX", "MEMBER", "MIN", "MOD", "NEW", "NOT", "NULL", "NULLIF", "OBJECT", "OF", "OR", "ORDER", "OUTER", "SELECT", "SET", "SIZE", "SOME", "SQRT", "SUBSTRING", "SUM", "THEN", "TRAILING", "TRIM", "TYPE", "UPDATE", "UPPER", "VALUE", "WHEN", "WHERE", <BOOLEAN_LITERAL>, <DATE_LITERAL>, <DECIMAL_LITERAL>, <IDENTIFIER>, <INTEGER_LITERAL>, <STRING_LITERAL2>, <STRING_LITERAL>, <TIMESTAMP_LITERAL>, <TIME_LITERAL>].
  3. 0

    sysdate-15 implementation

    Oracle Community | 6 years ago | user540571
    org.apache.openjpa.persistence.ArgumentException: Encountered "-" at character 144, but expected: ["AND", "GROUP", "HAVING", "OR", "ORDER", <EOF>].
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenJPA How to use WHERE condition on collection with join fetch?

    Stack Overflow | 4 years ago | veote
    org.apache.openjpa.persistence.ArgumentException: " Encountered "f" at character 50, but expected [",", ".", "GROUP", "HAVING", "INNER", "JOIN", "LEFT", "ORDER", "WHERE", &lt;EOF&gt;]."
  6. 0

    I get org.apache.openjpa.persistence.ArgumentException while running a junit Test

    Stack Overflow | 4 months ago | vamshi krishna
    org.apache.openjpa.persistence.ArgumentException: "Encountered "cfg" at character 83, but expected: [",", ".", "GROUP", "HAVING", "INNER", "JOIN", "LEFT", "ORDER", "WHERE", <EOF>]." while parsing JPQL "SELECT DISTINCT cf FROM CouponFunction cf LEFT JOIN FETCH cf.couponFunctionGroups cfg WHERE cf.id in :aIdList". See nested stack trace for original parse error.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.openjpa.persistence.ArgumentException

      Encountered "cfg" at character 83, but expected: [",", ".", "GROUP", "HAVING", "INNER", "JOIN", "LEFT", "ORDER", "WHERE", <EOF>].

      at org.apache.openjpa.kernel.jpql.JPQL.generateParseException()
    2. OpenJPA Aggregate Jar
      JPQLParser.parse
      1. org.apache.openjpa.kernel.jpql.JPQL.generateParseException(JPQL.java:13180)
      2. org.apache.openjpa.kernel.jpql.JPQL.jj_consume_token(JPQL.java:13054)
      3. org.apache.openjpa.kernel.jpql.JPQL.parseQuery(JPQL.java:76)
      4. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.parse(JPQLExpressionBuilder.java:2445)
      5. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.<init>(JPQLExpressionBuilder.java:2432)
      6. org.apache.openjpa.kernel.jpql.JPQLParser.parse(JPQLParser.java:49)
      6 frames