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