org.hibernate.hql.ast.QuerySyntaxException

unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c]

Solutions on the web209

  • via Hibernate JIRA by Rhett Sutphin, 1 year ago
    unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c]
  • via Hibernate JIRA by Rhett Sutphin, 1 year ago
    unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c]
  • via sourceforge.net by Unknown author, 1 year ago
    unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c]
  • Stack trace

    • org.hibernate.hql.ast.QuerySyntaxException: unexpected token: . near line 1, column 17 [select c.entered.on from eg.domain.Cat c] at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59) at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:244) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:155) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:105) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:75) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:54) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:134) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1600) at eg.Main.main(Main.java:33)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates