Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. QueryTranslatorImpl.compile() has thrown a QuerySyntaxException
    Hibernate Core
  2. HQL syntax error - bad table name
    Hibernate Core

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.hibernate.hql.ast.QuerySyntaxException: postaladdress is not mapped. \[delete from postaladdress where street='TESTSTRASSE' and city='TESTCITY' \]
    at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(
    at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(
    at org.hibernate.hql.ast.tree.FromClause.addFromElement(
    at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(
33 frames hidden


poroszd2 months ago

When referring to a table in HQL, use the java class name, not the sql table name.

External results for this pattern (10)

  1. Unknown authorvia viralpatel.net5 months ago
    contacts is not mapped [from contacts]
    Show stack trace
  2. sebbalexvia Stack Overflow5 months ago
    impianti is not mapped [from impianti where impianto='SD' order by modulo asc]
    Show stack trace
  3. Unknown authorvia nabble.com5 months ago
    Employeeinfo is not mapped [from Employeeinfo]
    Show stack trace
  4. atvodonelvia openxava5 months ago
    Llamada is not mapped [SELECT COUNT(*) from Llamada e WHERE e.linea.lineaId = :p0]
    Show stack trace
  5. Unknown authorvia jamacedo.com5 months ago
    emitente is not mapped [from emitente]
    Show stack trace
  6. Gerard Krupavia Hibernate JIRA5 months ago
    BKG_BKCMR_REL_AUD is not mapped [select new list(ee, e) from BKG_BKCMR_REL_AUD ee, *package-name-omitted*.BookingComponent_AUD e where ee.originalId.BookingComponent_id = and ee.originalId.children_id = :children_id and <= :revision and <= :revision and ee.rev_type != :delrevisiontype and e.rev_type != :delrevisiontype and ( > :revision or e.REV_ID_END is null) and ( > :revision or ee.REV_ID_END is null)]
    Show stack trace
  7. erickvvia runawfe5 months ago
    org.jbpm.graph.exe.StartedSubprocesses is not mapped
    Show stack trace
  8. Unknown authorvia blogspot.com5 months ago
    hud_coc_report_question_7 is not mapped [from hud_coc_report_question_7]
    Show stack trace
  9. Unknown authorvia netbeans.org5 months ago