IntelliJ spring boot eclipselink persistence.xml-free jpa console problem
Answered
Hi!
We are setting up a persistence.xml-free JPA/EclipseLink/Spring using IntelliJ IDEA 2018.1.5 (Ultimate Edition). And we need it jpa console, but cannot open it.

Please sign in to leave a comment.
As noted in help documentation make sure that the Java EE: EJB, JPA, Servlets plugin is enabled. Also, JPA facet must be configured for the module (with set JPA configuration file and JPA Provided). Then you can make JPA Console available after associating your persistence unit with the corresponding data source.
Hi Petr!
Thanks your answer. But the main problem is that, we don't have the persistence.xml file. Because we use spring annotations for entity configuration. So what the linked solution is not proper for us, because it tells the solution with the persistence.xml. However, the "idea" somehow sees the entities. (pictures..)
best regards Varga Márton
Have you configured JPA facet for the module? It must be set up. Also make sure Spring application context is set in Spring facet for the module. Check this sample project.