java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: StudentEntity is not mapped [SELECT s FROM StudentEntity s]

Stack Overflow | Yashik | 5 months ago
  1. 0

    Hibernate shows error, class is not mapped

    Stack Overflow | 5 months ago | Yashik
    java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: StudentEntity is not mapped [SELECT s FROM StudentEntity s]
  2. 0

    Caused by: org.hibernate.QueryException: could not resolve property: last_name

    Stack Overflow | 5 months ago | Dee
    java.lang.IllegalArgumentException: org.hibernate.QueryException: could not resolve property: last_name of: com.hibernate.exercise6.model.Employee [FROM com.hibernate.exercise6.model.Employee E ORDER BY E.last_name]
  3. 0

    Hibernate query, QueryException exception

    Stack Overflow | 1 month ago | Nick Nick
    java.lang.IllegalArgumentException: org.hibernate.QueryException: No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode \-[IDENT] IdentNode: 'linked_id' {originalText=linked_id} [FROM hibernate.entity.CallDetailHistoriesEntity WHERE unique_id = :id OR unique_id IN (SELECT linked_id FROM hibernate.entity.CallDetailHistoriesEntity WHERE unique_id = :id)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java, Spring,JPA, PHP, jQuery & Javascript Beginners - 2015-08-18

    stackoverflow.com | 8 months ago
    org.hibernate.hql.internal.ast.QuerySyntaxException: v_order is not mapped
  6. 0

    Spring boot + Hibernate - User is not mapped

    codegur.online | 4 months ago
    org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped

    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

      StudentEntity is not mapped

      at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.requireClassPersister()
    2. Hibernate
      AbstractSharedSessionContract.createQuery
      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:79)
      4. org.hibernate.hql.internal.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:321)
      5. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3704)
      6. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3593)
      7. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:718)
      8. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:574)
      9. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:311)
      10. org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:259)
      11. org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:262)
      12. org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:190)
      13. org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:142)
      14. org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:115)
      15. org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
      16. org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:152)
      17. org.hibernate.internal.AbstractSharedSessionContract.getQueryPlan(AbstractSharedSessionContract.java:523)
      18. org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:625)
      19. org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:101)
      19 frames
    3. com.demo.dao
      StudentDAOImpl.getStudent
      1. com.demo.dao.StudentDAOImpl.getStudent(StudentDAOImpl.java:22)
      1 frame
    4. com.demo.userInterface
      UserInterface.main
      1. com.demo.userInterface.UserInterface.main(UserInterface.java:9)
      1 frame