History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17599
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: Erik Pragt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Class is not mapped when using HQL console with JPA

Created: 01 Apr 08 17:54   Updated: 07 Apr 08 21:49
Component/s: J2EE.Hibernate

Build: 7,757
Severity: High


 Description  « Hide
When executing this query:
> select r from Registrant r where r.membershipId = :membershipId

I get the following message:
org.hibernate.hql.ast.QuerySyntaxException: Registrant is not mapped [select r from Registrant r where r.membershipId = :membershipId]

However, the class is mapped, and the class is visible in the ER diagram. I just cannot execute queries from within IntelliJ. Normal application works fine.



 All   Comments   Work Log   Change History      Sort Order:
Gregory Shrago - 07 Apr 08 21:49
HQL console hibernate session may be miscofigured,
please provide your hibernate.cfg.xml.