Hi, I am using the hibernate3-maven-plugin to generate the hibernate.cfg file, hbm.xml files and the java code.
I am successful in generating the hibernate.cfg file, hbm.xml files. With the java files, once I figured out from the following message thread http://www.mail-archive.com/[email protected]/msg49367.html that hbm2java looks for files in target\classes directory, I moved the hbm.xml files there, change hibernate.cfg.xml file accordingly and was able to generate the code. I would like this process to be fully integrated. That is once I change my DB schema, I should eb able to run Maven command(s) and have the uptodate generated files. can hibernate3-maven-plugin provide for that? other wise, does any one have ant scripts which I can integrate with Maven2 to achieve this. Cheers, Anna --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
