This stuff is really nice and the tools will definitly benefit from it ,)
but just to be a nag: since HQL<>Criteria why don't we add
ResultTransformer to the Query facility ?
/max
map creation from specified key and value columns (either key,value
or
aliased)
-1, I don't see this as a general ne
>> map creation from specified key and value columns (either key,value
or
aliased)
-1, I don't see this as a general need; you can always use a criteria
query with a resultTransformer (I'm currently resisting the idea of
adding ResultTransformer to the HQL facility).
>> plugable loaders
Well, b
ehalf Of Gavin King
> Sent: Tuesday, 5 April 2005 2:07 PM
> To: 'hibernate-devel@lists.sourceforge.net'
> Subject: [Hibernate] New HQL features in CVS
>
>
> select foo.bar as fb, foo.x as fx from Foo foo ( use together with
> Query.getReturnAliases() )
>
>
select foo.bar as fb, foo.x as fx from Foo foo ( use together with
Query.getReturnAliases() )
select new list(foo.bar, foo.x) from Foo foo
select new map( foo.bar as fb, foo.x as fx) from Foo foo
Enjoy!
--
Gavin King
+61 410 534 454
+1 404 822 8349
callto://gavinking
Hibernate
[EMAIL PROTECTED