• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data model to Object model  RSS feed

 
Insia ahmad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a database scheema in informix, I want to generate Hibernate Java classes, what tools should i use?

thanks

Insia
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Middlegen will generate mapping files for your schema. hbm2java will create POJO's from the mapping files.
 
Insia ahmad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your post, is middlegen a part of Hibernate extensions? if not then does hibernate provides any other tool to generate this mapping

Regards
Insia
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Middlegen isn't part of Hibernate at all, its a seperate product. Hibernate extensions does have something called ddl2hbm which I think does the same. Hibernate's own documentation however recommends Middlegen.
 
Pj Murray
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The latest version of FireStorm/DAO generates Hibernate code by reverse engineering the database schema.

You can get general information here:

http://www.codefutures.com/hibernate/

You can download directly here.

http://www.codefutures.com/products/firestorm/download/3.0/


This is a RC1 - CodeFutures is looking for feedback from Hibernate users.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!