org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped

Stack Overflow | Amon Druffel | 2 months ago
  1. 0

    Hibernate QuerySyntaxException: User is not mapped

    Stack Overflow | 2 months ago | Amon Druffel
    org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped
  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

    User is not mapped

    at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister()
  2. Hibernate
    QueryTranslatorImpl.doCompile
    1. org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:171)
    2. org.hibernate.hql.internal.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:91)
    3. org.hibernate.hql.internal.ast.tree.FromClause.addFromElement(FromClause.java:76)
    4. org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:321)
    5. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3701)
    6. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3590)
    7. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:716)
    8. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:572)
    9. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:309)
    10. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:257)
    11. org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:262)
    12. org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:190)
    12 frames