I'm not sure if people noticed, but I submitted an alternate Middlegen plugin that generates hbm.xml, as discussed here. Theres a few improvements I need to make to that, but I will try to get onto "finishing" it in the next few days.
I also understand that Konstantin is adding composite id support to the XDoclet module and that Max has very nearly finished the <meta> patch for hbm2java. To complete our full roundtripping I suggest the following additional toolset features: (1) create a <hbm2java> ant task (easy to do) (2) add a @hibernate.meta tag to the XDoclet module (3) add functionality for generation of XDoclet @hibernate.tags to hbm2java These new features will allow full reversability of <hibernatedoclet> via <hbm2java> and vice versa. Max has suggested that hbm2java could use a velocity template for code generation. Particularly now that I have a bit of experience with velocity, I certainly agree that it would be a nicer way of doing things. However, from a practical point of view, I wouldn't want someone to waste time on this if that would mean a big delay in delivering the "finished" toolset. The #1 advantage I see to using a template is that users would then be able to easily customize to template to suit their own preferences. OTOH, if we wanted that, then we would probably need to clean up the underlying "model" objects that represent the parsed mapping document. So anyway, lets put that (the template) on the todo list, but leave implementing (1) and (3), by whatever means, as the top priority. Thoughts? ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel