From: Gavin K. <ga...@ap...> - 2002-11-27 11:44:35
|
Firstly and most importantly, the XDoclet module needs to be updated to support the new DTD (hibernate-mapping-1.1.dtd). The biggest and most important change in this is support for the <joined-subclass> mapping style. However there are also a couple of smaller changes (eg. <composite-id><property> was changed to <composite-id><key-property>, <composite-id><key-many-to-one> ). I don't expect it would be very difficult to extrapolate these changes from the current functionality. <joined-subclass> is substantially similar to <subclass>, with the exception that it has the required <key> subelement. Gavin ----- Original Message ----- From: "Joel Rosi-Schwartz" <Joe...@Et...> To: <hib...@li...> Sent: Wednesday, November 27, 2002 10:22 PM Subject: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > I started this conversation on the Hibernate forum. For the benefit of > those who did not read that thread ("Zen of mapping strategies & > generation tools", it was lengthy to say the least;-) I will briefly > recap the part that is relevant here. > > I am going to be using Hibernate in a couple of projects and would > prefer to maintain the mapping definitions as automatically as possible. > I have not yet chosen the exact mapping strategy I will employ and > Gavins comment was that possibly I would be best off with a > "<joined-subclass> functionality (table-per-subclass)" strategy. In any > case, for all of options I am considering, the current Xdoclet is > insufficient to handle that task. > > I have therefore volunteered to take on doing some extension work to > the hibernate subtask. Gavin has expressed willingness to guide the > effort, which is essential as I do not have the experience with > hibernate to really understand what is wanted and needed. It would also > be very helpful if I had someone who has prior XDoclet development > experience to support me when I need some questions answered in that arena. > > I have set aside a few days to accomplish this. So, while my time is > limited, I am very open to suggestions from the community as to what is > wanted. I will do as much as is possible within my initial time constraints. > > So the first task at hand is to specify the functionality. Let the > games begin... > > - joel > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |