aspose file tools
The moose likes Object Relational Mapping and the fly likes Tools to generate the domain model diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Tools to generate the domain model diagram" Watch "Tools to generate the domain model diagram" New topic
Author

Tools to generate the domain model diagram

Dorothy Taylor
Ranch Hand

Joined: Nov 26, 2007
Posts: 104
Hi All

I am new to Hibernate and seek some guidance.

Given the list of tables that need to exist in the database, is there any tool available that can generate the domain model design and also point out if any of the fields have been wrongly created as per ORM

Regards
Dorothy
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Hi Dorothy,

the best tool to create a domain model design is your brain .

However if you really really want to create your design from existing tables then use Middlegen to generate Hibernate mapping documents and then run Hibernate's hbm2java tool.

Regards,
Darya


SCJP, SCJD, SCWCD, SCBCD
Emmanuel Bernard
author
Ranch Hand

Joined: Oct 22, 2008
Posts: 62
Check the Hibernate tools, they have exactly what you are asking for. They can read a database schema and build the domain model (annotated or using hbm.xml).

JBoss Tools wraps that up in an eclipse plugin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tools to generate the domain model diagram
 
Similar Threads
Send HTTP Response with XML schema??
Domain object model
BDM
How to generate Domain Objects using JPA
EMF + UML 2 Tools [model to java code]