JPA object database schema drawing in IntelliJ

Does anyone know if there is a plugin for IntelliJ that will draw a database schema schema based on JPA entity classes?

+6
source share
2 answers

IntelliJ (final release) can generate an ER diagram without any additional plugins. It is available from the context menu in the Persistence panel.

To get this panel, you first need to add the "JPA" facet to your module.

+4
source

preliminary request to get the entry "ER Diagram" in the context menu:

  • final version (doesn't seem to be available in the "community version")
  • JPA Facet per module
  • UML plugin activated (files / other settings / custom plugins, this plugin includes diagrams)
    • then right click on "persistenceUnit" in the "Persistence" toolbox

I just add this comment to the official documentation (comment awaiting moderation).

White Paper: http://www.jetbrains.com/idea/webhelp/opening-jpa-or-hibernate-er-diagram.html

+4
source

Source: https://habr.com/ru/post/893834/


All Articles