From: Joel Rosi-S. <Joe...@Et...> - 2002-11-27 11:22:33
|
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 |
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 |
From: Joel Rosi-S. <Joe...@Et...> - 2002-11-27 13:40:44
|
I'll take a look at this today. Is it possible to get me commit access to the Tools module, that would be a lot easier than having to produce patches. If this is not a problem, then I would also like an okay to add Eclipse project support. It only adds two files, .classpath and .project, and these are not intrusive to anyone who is not using Eclipse. In fact if you wanted to give me commit on all of the modules, I would be happy to set up and maintain Eclipse project support across the board. For people using Eclispe this makes it *much* easier to pull code out of cvs and be up and running immediately. - joel Gavin King wrote: >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 > > |
From: Gavin K. <ga...@ap...> - 2002-11-27 14:55:50
|
I'm not too keen on adding .project + .classpath - my .classpath has hardcoded pathnames to various JDBC drivers and it would be a real hassle to not accidently check those in each time. (hibernate.properties is bad enough; up to version 1.91 already.) Anyway, I use Eclipse very smoothly + successfully without them there. Note that I use cygwin for CVS access because I just hate the eclipse CVS client. > If this is not a problem, then I would also like an okay to add Eclipse > project support. It only adds two files, .classpath and .project, and > these are not intrusive to anyone who is not using Eclipse. In fact if > you wanted to give me commit on all of the modules, I would be happy to > set up and maintain Eclipse project support across the board. For people > using Eclispe this makes it *much* easier to pull code out of cvs and be > up and running immediately. |
From: Joel Rosi-S. <Joe...@Et...> - 2002-11-28 11:37:34
|
To make sure that I understand what the current mapping defintions are I am about to reread the "Hibernate Reference Documentation". It is rather unclear as to which version represents the gospel. I printed the PDF the 1.2 release about a week ago and it had 88 pages. When I look at the PDF on the web today it has 69 pages. The PDF in cvs acrobat complains that it is damaged. This leaves me wondering which documentation I should be referencing for the Xdoclet work. Can I trust any of the PDF's or should I fall back to the HTML. As a suggestion it may be useful to date and version the documentation. - joel |
From: Max R. A. <ma...@eo...> - 2002-11-28 14:25:55
|
And know when we are on an related subject :) Could we soon be introducing a src directory instead of having cirrus in the root of the project ? It would make life much easier for me and my eclipse :) /max ----- Original Message ----- From: "Gavin King" <ga...@ap...> To: "Joel Rosi-Schwartz" <Joe...@Et...> Cc: "hibernate list" <hib...@li...> Sent: Wednesday, November 27, 2002 3:54 PM Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > > I'm not too keen on adding .project + .classpath - my .classpath has > hardcoded pathnames to various JDBC drivers and it would be a real hassle to > not accidently check those in each time. (hibernate.properties is bad > enough; up to version 1.91 already.) Anyway, I use Eclipse very smoothly + > successfully without them there. Note that I use cygwin for CVS access > because I just hate the eclipse CVS client. > > > If this is not a problem, then I would also like an okay to add Eclipse > > project support. It only adds two files, .classpath and .project, and > > these are not intrusive to anyone who is not using Eclipse. In fact if > > you wanted to give me commit on all of the modules, I would be happy to > > set up and maintain Eclipse project support across the board. For people > > using Eclispe this makes it *much* easier to pull code out of cvs and be > > up and running immediately. > > > > > ------------------------------------------------------- > 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 > |
From: Gavin K. <ga...@ap...> - 2002-11-29 05:37:56
|
Yeah sure. I will make a support request to SourceForge staff.... ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: "Gavin King" <ga...@ap...>; "Joel Rosi-Schwartz" <Joe...@Et...> Cc: "hibernate list" <hib...@li...> Sent: Friday, November 29, 2002 1:25 AM Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > And know when we are on an related subject :) > > Could we soon be introducing a src directory instead of having cirrus in the > root of the project ? > It would make life much easier for me and my eclipse :) > > /max > > ----- Original Message ----- > From: "Gavin King" <ga...@ap...> > To: "Joel Rosi-Schwartz" <Joe...@Et...> > Cc: "hibernate list" <hib...@li...> > Sent: Wednesday, November 27, 2002 3:54 PM > Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > > > > > > I'm not too keen on adding .project + .classpath - my .classpath has > > hardcoded pathnames to various JDBC drivers and it would be a real hassle > to > > not accidently check those in each time. (hibernate.properties is bad > > enough; up to version 1.91 already.) Anyway, I use Eclipse very smoothly + > > successfully without them there. Note that I use cygwin for CVS access > > because I just hate the eclipse CVS client. > > > > > If this is not a problem, then I would also like an okay to add Eclipse > > > project support. It only adds two files, .classpath and .project, and > > > these are not intrusive to anyone who is not using Eclipse. In fact if > > > you wanted to give me commit on all of the modules, I would be happy to > > > set up and maintain Eclipse project support across the board. For people > > > using Eclispe this makes it *much* easier to pull code out of cvs and be > > > up and running immediately. > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > > > ------------------------------------------------------- > 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 |
From: Max R. A. <ma...@eo...> - 2002-12-20 19:18:47
|
Gavin, Did anything ever happen concerning moving the source into an src directory ? /max ----- Original Message ----- From: "Gavin King" <ga...@ap...> To: "Max Rydahl Andersen" <ma...@eo...> Cc: "hibernate list" <hib...@li...> Sent: Friday, November 29, 2002 6:36 AM Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > Yeah sure. I will make a support request to SourceForge staff.... > > ----- Original Message ----- > From: "Max Rydahl Andersen" <ma...@eo...> > To: "Gavin King" <ga...@ap...>; "Joel Rosi-Schwartz" > <Joe...@Et...> > Cc: "hibernate list" <hib...@li...> > Sent: Friday, November 29, 2002 1:25 AM > Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > > > > And know when we are on an related subject :) > > > > Could we soon be introducing a src directory instead of having cirrus in > the > > root of the project ? > > It would make life much easier for me and my eclipse :) > > > > /max > > > > ----- Original Message ----- > > From: "Gavin King" <ga...@ap...> > > To: "Joel Rosi-Schwartz" <Joe...@Et...> > > Cc: "hibernate list" <hib...@li...> > > Sent: Wednesday, November 27, 2002 3:54 PM > > Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > > > > > > > > > > I'm not too keen on adding .project + .classpath - my .classpath has > > > hardcoded pathnames to various JDBC drivers and it would be a real > hassle > > to > > > not accidently check those in each time. (hibernate.properties is bad > > > enough; up to version 1.91 already.) Anyway, I use Eclipse very smoothly > + > > > successfully without them there. Note that I use cygwin for CVS access > > > because I just hate the eclipse CVS client. > > > > > > > If this is not a problem, then I would also like an okay to add > Eclipse > > > > project support. It only adds two files, .classpath and .project, and > > > > these are not intrusive to anyone who is not using Eclipse. In fact if > > > > you wanted to give me commit on all of the modules, I would be happy > to > > > > set up and maintain Eclipse project support across the board. For > people > > > > using Eclispe this makes it *much* easier to pull code out of cvs and > be > > > > up and running immediately. > > > > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > > > > > ------------------------------------------------------- > > 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 > > |
From: Joel Rosi-S. <Joe...@Et...> - 2002-12-20 22:08:21
|
Actually the Hibernate XDoclet module has moved under the umbrella of the XDocklet project proper. Until the next XDoclet release, it is only available by downloading all of XDockle from cvs on Source Forge and building it. I suppose that if that was really inconvenient, one could always download the one from the Hibernate Tools cvs tree, but that no longer has the latest modifications. - joel Max Rydahl Andersen wrote: >Gavin, > >Did anything ever happen concerning moving the source into an src directory >? > >/max > >----- Original Message ----- >From: "Gavin King" <ga...@ap...> >To: "Max Rydahl Andersen" <ma...@eo...> >Cc: "hibernate list" <hib...@li...> >Sent: Friday, November 29, 2002 6:36 AM >Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks > > > > >>Yeah sure. I will make a support request to SourceForge staff.... >> >>----- Original Message ----- >>From: "Max Rydahl Andersen" <ma...@eo...> >>To: "Gavin King" <ga...@ap...>; "Joel Rosi-Schwartz" >><Joe...@Et...> >>Cc: "hibernate list" <hib...@li...> >>Sent: Friday, November 29, 2002 1:25 AM >>Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks >> >> >> >> >>>And know when we are on an related subject :) >>> >>>Could we soon be introducing a src directory instead of having cirrus in >>> >>> >>the >> >> >>>root of the project ? >>>It would make life much easier for me and my eclipse :) >>> >>>/max >>> >>>----- Original Message ----- >>>From: "Gavin King" <ga...@ap...> >>>To: "Joel Rosi-Schwartz" <Joe...@Et...> >>>Cc: "hibernate list" <hib...@li...> >>>Sent: Wednesday, November 27, 2002 3:54 PM >>>Subject: Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks >>> >>> >>> >>> >>>>I'm not too keen on adding .project + .classpath - my .classpath has >>>>hardcoded pathnames to various JDBC drivers and it would be a real >>>> >>>> >>hassle >> >> >>>to >>> >>> >>>>not accidently check those in each time. (hibernate.properties is bad >>>>enough; up to version 1.91 already.) Anyway, I use Eclipse very >>>> >>>> >smoothly > > >>+ >> >> >>>>successfully without them there. Note that I use cygwin for CVS access >>>>because I just hate the eclipse CVS client. >>>> >>>> >>>> >>>>>If this is not a problem, then I would also like an okay to add >>>>> >>>>> >>Eclipse >> >> >>>>>project support. It only adds two files, .classpath and .project, >>>>> >>>>> >and > > >>>>>these are not intrusive to anyone who is not using Eclipse. In fact >>>>> >>>>> >if > > >>>>>you wanted to give me commit on all of the modules, I would be happy >>>>> >>>>> >>to >> >> >>>>>set up and maintain Eclipse project support across the board. For >>>>> >>>>> >>people >> >> >>>>>using Eclispe this makes it *much* easier to pull code out of cvs >>>>> >>>>> >and > > >>be >> >> >>>>>up and running immediately. >>>>> >>>>> >>>> >>>> >>>>------------------------------------------------------- >>>>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 >>>> >>>> >>>> >>> >>>------------------------------------------------------- >>>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 >>> >>> >> >> > > > >------------------------------------------------------- >This SF.NET email is sponsored by: The Best Geek Holiday Gifts! >Time is running out! Thinkgeek.com has the coolest gifts for >your favorite geek. Let your fingers do the typing. Visit Now. >T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ >_______________________________________________ >hibernate-devel mailing list >hib...@li... >https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > |