用于从 JPA/Hibernate 注释类生成 ER 图的 Ant 任务 [英] Ant task for generating ER diagram from JPA/Hibernate annotated classes

查看:34
本文介绍了用于从 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.

这篇关于用于从 JPA/Hibernate 注释类生成 ER 图的 Ant 任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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