java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: commercialdocument is not mapped

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openxava by henryedsl
, 1 year ago
org.hibernate.hql.ast.QuerySyntaxException: commercialdocument is not mapped
via sourceforge.net by Unknown author, 2 years ago
org.hibernate.hql.ast.QuerySyntaxException: commercialdocument is not mapped
via Stack Overflow by Wadii Slatnia
, 2 years ago
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: FROM near line 1, column 17 [SELECT COUNT(e) FROM Object e WHERE TYPE(e) <> Country]
via JIRA by VILIN Gilles, 1 year ago
org.hibernate.QueryException: could not resolve property: compagnie of: it.eng.spagobi.meta.Compagnie [SELECT t_0.debit, t_1.nom_compagnie FROM it.eng.spagobi.meta.Primes t_0, it.eng.spagobi.meta.Compagnie t_1 WHERE t_0.rel_compagnie_in_compagnie.compagnie = t_1.compagnie_id]
via Hibernate JIRA by Dirk weil, 1 year ago
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected end of subtree [select e from de.gedoplan.buch.eedemos.entity.Employee e where e.skills is not empty ]
via Hibernate JIRA by Dirk weil, 1 year ago
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected end of subtree [select e from de.gedoplan.buch.eedemos.entity.Employee e where e.skills is not empty ]
java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: commercialdocument is not mapped
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1376)
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1317)
at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:280)
at org.openxava.jpa.impl.EntityManagerDecorator.createQuery(EntityManagerDecorator.java:131)
at org.openxava.invoicing.calculators.NextNumberForYearCalculator.calculate(NextNumberForYearCalculator.java:17)
at org.openxava.view.View.calculateValue(View.java:2677)
at org.openxava.view.View.tryPropertyChanged(View.java:2480)
at org.openxava.view.View.propertyChanged(View.java:2462)
at org.openxava.view.View.propertyChanged(View.java:2444)
at org.openxava.view.View.calculateDefaultValues(View.java:1784)
at org.openxava.view.View.reset(View.java:1699)
at org.openxava.actions.NewAction.execute(NewAction.java:17)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:403)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:320)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:280)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.