I’m trying to use the HQL Editor with my project and I use a custom SessionFactory that uses the annotation configuration. If I try launching the HQL Editor on my project it just get stuck on the refreshing project dialog. However, if I open it using another empty hibernate project and then switch to my project I get the below error. Any ideas, help would be appreciated.
It seems the HQL editor is using an older version of hibernate than what I have in my classpath.
An error has occurred. See error log for more details.
org.hibernate.cfg.AnnotationConfiguration.configure(Ljava/lang/String;)Lorg/hibernate/cfg/AnnotationConfiguration;
Session factory not created for configuration:PROJECTNAME
Version: 7.1.1
Build: 7.1.1-20090310