用于从 JPA/Hibernate 注释类生成 ER 图的 Ant 任务

用于从 JPA/Hibernate 注释类生成 ER 图的 Ant 任务

问题描述:

有谁知道可以做到这一点的工具吗?

Does anyone know of a tool that can do that?

Linguine maps 似乎只适用于旧的 hibernate xml 文件.而休眠工具任务 hbm2hbmxml 似乎有一个错误 这样我就不能做注释->hbmxml->图表"的两步过程

Linguine maps seems to only work on old hibernate xml files. And the hibernate tool task hbm2hbmxml seems to have a bug so that I can't do the two step process "annotations->hbmxml->diagram"

最好的,安德斯

不是你想要的,但你可以使用 API Viz,它自动从类层次结构中生成类似 UML 的图表,并且可以使用 doclet 标签进行扩充.

Not quite what you're looking for but you could use API Viz which automatically produces UML like diagrams from class hierarchies and can be augmented with doclet tags.

您必须稍微标记您的类,但它是一个很棒的工具,值得在您尝试可视化大型或复杂项目的任何地方使用.

You'd have to mark up your classes a little, but it's a great tool and worth using wherever you're trying to visualise large or complex projects.