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

Stack Overflow | vamshi krishna | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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

    JPA/MySQL - Whats wrong with this JPQL query?

    Stack Overflow | 3 years ago | Wlad
    org.apache.openjpa.persistence.ArgumentException: "Encountered "SIZE" at character 31, but expected: ["AVG", "COUNT", "KEY", "MAX", "MIN", "SUM", "VALUE", &lt;IDENTIFIER&gt;]." while parsing JPQL "SELECT p FROM Post p ORDER BY SIZE(p.comments) DESC". See nested stack trace for original parse error.
  6. 0

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

    Stack Overflow | 5 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;]."

    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