No hibernate mapping file, just annotations
My project doesn't use a "mapping.hbm.xml" as I simply use the various hibernate and ejb3 annotations. Is there any way to use the intellij hibernate features without having a mapping file? Or if not how do i get intellij to stop complaining about the syntax of my hbm files?
Please sign in to leave a comment.
Try adding EJB and possibly JPA Facets to your project.
I would make that "JPA and possibly Hibernate Facets".
(The simplified persistence is not part of the EJB facet, but implemented (and defined in the spec) as separate JPA part.)
Hello Barry,
If nothing more helps, hibernate mapping file inspections can be turned off.
Alexander.