I installed the Hibernate plug-in on Eclipse from here.
Installation is successful-- I'm now seeing Hibernate
as an option in Window > Open Perspective
.
I've set the properties on the project itself-- Enable Hibernate support
is now checked in Properties > Hibernate Settings
.
Also, Hibernate Builder
is checked (was automatically) in Properties Builders
.
However, Java is not seeing Hibernate-- I'm getting errors to all Hibernate imports in my source code. When I attempt to "Fix project setup..." in the editor, I get "No proposals found ... click for manual configuration."
What am i missing?
I downloaded Hibernate plug-in to get around this manual fix for one thing. The same code is working all fine when I manually add the jars to the project build path.
I'm using Eclipse Luna 4.4.2
TIA.
//-------------------------
EDIT:
While autocreating persistence.xml
, Eclipse is (must be) looking at the version of Hibernate plug-in, not the jars on the project's build-path.
And that's causing a version conflict in between JPA and ORM. See the accepted answer here for reference.
Burned me half a day.