On 20 Jan (21:52), Henri Tremblay wrote: > An existing application is not really easy to convert but it's going pretty well. > The first thing that was missing was to be able to create hbm.xml files. I tried > class2hbm (and improved it a little) but it wasn't enough. So on my free time I've > started a HbmGenerator that creates a hbm.xml file from the class, table and a field > mapping between both. It currently goes pretty well. I can map normal fields, user > types (that we use a lot) and tonigh I'll try to add associations. So I thought you > might be interested to see this app (and possibly add it to the hibernate tool set). > What do you think?
Well, I think that the existing tools pretty much cover the same functionality. I remember that the POJO CodeGenerator (hbm2java) could need some help with the Velocity templates. > <property column="creation_date" value="sysdate"/> > > So to be able to hardcode a value in the sql call. But perhaps you have a better > idea? Use a trigger? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel