Thanks David,
As you mentioned, we can really use the hbm2java to generate Java source based on the database schema -- that's a very good news and I will give it a try and I would compare this with another open source tool called "sql2java", which is very powerful in doing this though lack of the potential for customisation.
However, on the latest Hibernate doco (on your website), if you look at the Toolset Guide section 15.2 Code Generation, I just can't find any description regarding to how to generate java code based on the database schema, I can only see how to generate code based on the mapping files (which must be mannually created first).
So, here, does it mean the document is missing something related to the powerful feature of the hbm2java we are discussing?
If this is true, then the documentation has to be updated A.S.A.P., because it is a window to show the power of Hibernate to the world!!!
Victor
|