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