基于JPA注释生成ERD(实体关系图)的工具 [英] Tool to generate a ERD (entity-relation diagram) based on JPA annotations

查看:277
本文介绍了基于JPA注释生成ERD(实体关系图)的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ormlite编写Java代码.我想知道是否有可能从我的代码中的JPA注释生成ERD.基本上,我需要与此相反:如何将基于实体的图转换为JPA Java代码

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

推荐答案

IntelliJ IDEA(终极版)向ER图生成器提供了JPA.

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

在持久性工具"窗口中,选择适当的节点.然后使用上下文菜单选择"ER图".

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

请注意,JPA方面必须链接到模块,并且UML插件应该处于活动状态.

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

这篇关于基于JPA注释生成ERD(实体关系图)的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆