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

Stack Overflow | vamshi krishna | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Stack Overflow | 6 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

    1 unregistered visitors

    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