3 Replies Latest reply on Aug 18, 2015 8:12 AM by Max Rydahl Andersen

    Hibernate Configurations/HQL Editor Not Detecting JPA Configurations

    Ari King Newbie

      Hi,

       

      When I attempt to add a new hibernate configuration for my project that uses JPA 2.1 -- I get the error message: Project 'myproject' must be a JPA project

       

      The persistence.xml file contains the db connection properties (javax.persistence...), and while hibernate tools does NOT identify these properties it oddly identifies the persistence unit. Does anyone know how to resolve this?

       

      I'm using hibernate version 4.3.10.Final, hibernate tools 4.0.1.Final, with Eclipse Luna.

       

      Thanks.