views:

766

answers:

3

Does anyone know of a tool that can do that?

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"

Best, Anders

+1  A: 

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.

AndyT
+1  A: 

Hmm, I've found this great post on developerworks. There the author seems to generate entity diagrams from a live database. I wonder if I can go "annotated classes -> live db (eg. H2) -> SchemasSpy generated diagram?

And yes, API Viz looks great.

anders.norgaard
A: 

Ok. I blogged my hacky solution with SchemaSpy here

anders.norgaard