Tool to generate a ERD (entity-relation diagram) based on JPA annotations

陌路散爱 提交于 2020-01-03 08:33:08

问题


I'm writing a java code using ormlite. I was wondering if it's possible to generate an ERD from the JPA annotations in my code. Basically, I need the reverse of this: How can I transform Entity-Based diagram to a JPA java code


回答1:


IntelliJ IDEA (Ultimate) provides JPA to ER-Diagram generator.

In the Persistence tool window, select appropriate node. Then use context menu to select "ER Diagram".

Note that JPA facet must be linked to module and UML plugin should be active.



来源:https://stackoverflow.com/questions/10187048/tool-to-generate-a-erd-entity-relation-diagram-based-on-jpa-annotations

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!