org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: ( near line 1, column 16 [ select f from (select h from com.traff.hibernate.model.HealthLog as h where rtc>='1974-08-01 14:10:00.0' and rtc <'1974-09-01 23:46:20.6' and siteId = 20 order by rtc desc limit 50000 ) as f order by rtc asc ]

Stack Overflow | Augustus | 3 months ago
  1. 0

    sql to hql throwing exception

    Stack Overflow | 3 months ago | Augustus
    org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: ( near line 1, column 16 [ select f from (select h from com.traff.hibernate.model.HealthLog as h where rtc>='1974-08-01 14:10:00.0' and rtc <'1974-09-01 23:46:20.6' and siteId = 20 order by rtc desc limit 50000 ) as f order by rtc asc ]
  2. 0

    Using CAST(columnName AS INT) in HQL

    Stack Overflow | 2 years ago | Develope001
    org.hibernate.hql.internal.ast.QuerySyntaxException: expecting CLOSE, found '.' near line 1, column 70 [SELECT DISTINCT a.attributeName, a.displayName, CAST(a.seqNo AS Types.INTEGER) FROM com.tcs.oss.tims.common.entityBeans.Entitydefinitionconcrete a, com.tcs.oss.tims.common.entityBeans.Entitymasterconcrete b WHERE (a.entityTypeId=b.concreteEntityId AND b.baseType=:baseType) AND a.viewGrid=:flag ORDER BY CAST(a.seqNo AS INTEGER)]
  3. 0

    Table is not mapped error in ninjaframework

    Stack Overflow | 2 years ago
    org.hibernate.hql.internal.ast.QuerySyntaxException: Event is not mapped
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate - org.hibernate.hql.internal.ast.QuerySyntaxException: Client is not mapped

    Stack Overflow | 1 year ago | besmart
    org.hibernate.hql.internal.ast.QuerySyntaxException: Client is not mapped [from Client where clientId = 1)]
  6. 0

    All comments on Java Server Faces, PrimeFaces y Hibernate - Logueo de usuarios - Parte 3 - YouTube

    youtube.com | 1 year ago
    org.hibernate.hql.internal.ast.QuerySyntaxException: USUARIO is not mapped [from USUARIO]

  1. pnaranja 2 times, last 5 months ago
  2. r1chjames 8 times, last 6 months ago
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.hibernate.hql.internal.ast.QuerySyntaxException

    unexpected token: ( near line 1, column 16 [ select f from (select h from com.traff.hibernate.model.HealthLog as h where rtc>='1974-08-01 14:10:00.0' and rtc <'1974-09-01 23:46:20.6' and siteId = 20 order by rtc desc limit 50000 ) as f order by rtc asc ]

    at org.hibernate.hql.internal.ast.QuerySyntaxException.convert()
  2. Hibernate
    QueryTranslatorImpl.doCompile
    1. org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
    2. org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
    3. org.hibernate.hql.internal.ast.ErrorCounter.throwQueryException(ErrorCounter.java:79)
    4. org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:276)
    5. org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:180)
    5 frames