>Should use XDoclet 2? Never mind. I just set an ant build with XDoclet 2 and the hbm.xml files where generated. This, of course, answers what I ask. USE XDOCLET 2 Regards.