Draw Database Schema based on JPA entities in IntelliJ

Viewed 9755

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

3 Answers

File, Project Settings, click "+". Select the module which contains Java classes annotated with JPA. Then add JPA facet like this: enter image description here

Make sure you choose your framework correctly:

enter image description here

Then follow this steps:

enter image description here

Related