• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

automate convert tool for javabean to hibernet mapping files.

 
sitaram
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am creating javabeans. and that beans are working in hibernet. In that, hbm files will be compusory for each bean. automate convert tool for javabean to hibernet mapping files.what is that tool?

Regards,
D S
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello D,

First of all, I believe that this question should go to the object relational mapping forum not here.

Secondly, the myeclipse plugin for eclipse can generate hibernate mapping files, java beans and daos for you automatically from your database schema, but this is a proprietary software that costs between 32 and 50 USD a year. You can also use middlegen to generate hibernate mappings from database, and hbm2java from the "Hibernate Extensions" to generate the beans, or put xdoclet annotations in your beans' javadoc, and use xdoclet to generate hibernate mappings, then use hbm2ddl from hibernate tools to generate database DDL. You can find more here
 
sita raman subra
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

There is lot of tools.One is Middlegen

Regards,
Sitaraman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic