The three phase design should make this a little easier. --- Gavin King <[EMAIL PROTECTED]> wrote: > Yeah we definitely want to be able to do a lot more > with the select > clause. That is the weakest link at the moment. > > Joshua Davis wrote: > > > Just checking the direction of the scope creep so > that I can make sure the > > design is extensible. Seemed like a good example > of a potential extension. > > > > > >>-----Original Message----- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] > On > >>Behalf Of Gavin King > >>Sent: Thursday, December 11, 2003 8:59 AM > >>To: Joshua Davis; > [EMAIL PROTECTED] > >>Subject: Re: [Hibernate] new feature request / > discussion : > >>extension to select new MyClass > >> > >> > >>Yes, but I'd rather we creep the scope *after* we > got something that > >>works. I know, I am a broken record about this > kind of stuff... > >> > >>Joshua Davis wrote: > >> > >> > >>>Sounds like a good candidate for the AST based > HQL parser, no? > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: > [EMAIL PROTECTED] > >>>>[mailto:[EMAIL PROTECTED] > On > >>>>Behalf Of Gavin King > >>>>Sent: Thursday, December 11, 2003 2:10 AM > >>>>To: [EMAIL PROTECTED]; hibernate list > >>>>Subject: Re: [Hibernate] new feature request / > discussion : > >>>>extension to select new MyClass > >>>> > >>>> > >>>> > >>>> > >>>>Cameron Braid wrote: > >>>> > >>>> > >>>> > >>>>>>Max and I both agree that this is a very > desirable > >>>> > >>>>feature. Actually > >>>> > >>>> > >>>>>>we don't even need aliases to support select > new map(...). > >>>> > >>>>We could > >>>> > >>>> > >>>>>>just use the propety names. > >>>>>> > >>>>>> > >>>>> > >>>>>Since it is desirable, is it likely to happen > soon ? > >>>> > >>>>As soon as someone takes the time to implement > it. > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>This really isn't necessary, but sometimes it > would be nice to know > >>>>>the > >>>>>metadata of the returned results. > >>>>>SO rather than returning a List of Maps it > could return an > >>>> > >>>>Object that > >>>> > >>>> > >>>>>implements List that contains Maps but it also > implements a > >>>> > >>>>metadata > >>>> > >>>> > >>>>>interface to allow extraction of the column > names, types > >>>> > >>>>and any other > >>>> > >>>> > >>>>>metadata that would be important. > >>>> > >>>>Oh I get it. Query.getReturnTypes() ? > >>>> > >>>> > >>>> > >>>>-- > >>>>Gavin King > >>>>JBoss Group > >>>>+61 410534454 > >>>>http://hibernate.org > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.net email is sponsored by: IBM Linux > Tutorials. Become an > >>>>expert in LINUX or just sharpen your skills. > Sign up for > >> > >>IBM's Free > >> > >>>>Linux Tutorials. Learn everything from the bash > shell to > >> > >>sys admin. > >> > >>>>Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371> > &op=click > >>>> > >>>>_______________________________________________ > >>>> > >>>>hibernate-devel mailing list > [EMAIL PROTECTED] > >>>>https://lists.sourceforge.net/lists/listinfo/hibernate-devel > >>>> > >>> > >>> > >>> > >>-- > >>Gavin King > >>JBoss Group > >>+61 410534454 > >>http://hibernate.org > >> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: IBM Linux > Tutorials. > >>Become an expert in LINUX or just sharpen your > skills. Sign > >>up for IBM's Free Linux Tutorials. Learn > everything from the > >>bash shell to sys admin. Click now! > >>http://ads.osdn.com/?ad_id=1278&alloc_id=3371> > &op=click > >> > >>_______________________________________________ > >> > >>hibernate-devel mailing list > [EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/hibernate-devel > >> > > > > > > > > -- > Gavin King > JBoss Group > +61 410534454 > http://hibernate.org >
__________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel