Hibernate can not be added as framework support
Answered
Hey
I posted this question yesterday only to understand now that my problem is probably completely different.
According to the Enabling Hibernate Support guide, I need to add hibernate support by selecting it in the Add Framework Support dialog, but the problem is that I don't have hibernate listed in the dialog.
There's a bunch of other options, but hibernate isn't one of them.
I guess that this is causing the problems of intellij not associating my entity annotated classes as hibernate entities.
Any idea what might be the reason for hibernate not being listed?
I'm using a licensed IDEA 15.0.2,
Thanks.
Please sign in to leave a comment.
You can add it to the modlue here:


Or from the project add framework:
Double check that corresponding plug-in is enabled: http://www.jetbrains.com/idea/webhelp/enabling-and-disabling-plugins.html .
I don't have the hibernate option in that dialog as well...

However, is it possible that hibernate support is already added and thus not showing in the list?
Here's the project structure that I have:
So is it added to my module?
If so, how come my entities aren't recognized? not in the editor (in hql) nor in the hibernate console.
Yes, you already have it added.
Did you configure persistence unit? https://www.jetbrains.com/idea/help/creating-persistence-units.html .
Well, now it seems to be ok, that is the editor no longer complains about the entities.
But still a few things that aren't as they need to be:
Any idea why?
Thanks!
Please submit a ticket to support (https://intellij-support.jetbrains.com/hc/) and attach a sample project to reproduce the problem (with all the required dependency jars).