• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tools to generate the domain model diagram

 
Dorothy Taylor
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Emmanuel Bernard
author
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!