Here are two examples of problems I'm having when starting to use the HQL console in IntelliJ IDEA (9.0.4)
First, the console simply can't find several of my mapped classes and "from HealthCareQuery" gives the error:
java.lang.ClassNotFoundException: com.sample.jsp.portlet.HealthCareQuery
even though the code shows no errors and works fine when deployed. ...and it can find the class if I hit CTRL-B from within the HQL console
When I remove every class mapping except one simple one from my hibernate.cfg.xml,
the HQL command, "FROM AGE_GROUP" gets the error in the console:
java.lang.ClassNotFoundException: javax.transaction.Synchronization
Which I understand is because it can't find jta.jar
I made sure jta.jar is in my project library, but perhaps I need to make jta.jar available to IDEA in general. I can't find a way to do this. The plugins for hibernate and
java persistence are present.
my classes are mapped with annotations.