Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tools to generate the domain model diagram  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!