intellij-ideapersistence

Where is the Persistence tool window in Intellij IDEA 15?


I want to generate model Class from mysql database, but I cannot find the persistence tool window which is easily searched in IDEA 14.


Solution

  • The persistence support is available in IntelliJ IDEA Ultimate Edition (and not in the Community Edition, I think). When you create a new project in for example IntelliJ IDEA 15.0.3 EAP (build 143.1453.5), the New Project dialog opens:

    New Project dialog

    There you can for example select "Java Enterprise" in the left panel and "JavaEE Persistence (2.0)" in the "Additional Libraries and Frameworks" list. Now the Persistence panel can be opened via the View | Tool Windows | Persistence menu. The Persistence panel is visible here in the bottom left part:

    IntelliJ IDEA with persistence panel