eerik
eerik

Reputation: 11

Other use for a Hibernate Mapping file

I am trying to define db dependency for a web based application, and was thinking that perhaps the hibernate mappings used in the application might be importable into some sort of tool to produce a visual ERD diagram. Has anyone tried something like this?

Upvotes: 1

Views: 539

Answers (2)

Pascal Thivent
Pascal Thivent

Reputation: 570515

The Hibernate Tools plugin for Eclipse allows to visualize the Data Model with the "Mapping Diagram":

alt text
(source: relation.to)

Upvotes: 3

lomaxx
lomaxx

Reputation: 115833

There's a tool called visual nhibernate that does something like this. It's goal isn't to create ERD's but it does show that it's possible

Upvotes: 0

Related Questions