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.
please provide your hibernate.cfg.xml.