Please see at Donjon for a possible solution. -Markus
2009/2/20 TigerShark <[email protected]>: > > Hi Castle Developers... :) > > Sorry if I'm writing the wrong list, but since my issue was closed as > a won't fix (AR-234), I thought I'd just ask in another way to solve > my problem. > > As the issue describes, the normal ProjectionQuery is not able to > return an array of simple types (strings, ints etc.), but the > SimpleQuery is. > What I like about the ProjectionQuery is that it takes a > DetachedCriteria and a ProjectionList, which makes it very flexible to > work with (speaking OO that is). > The solution proposed in the issue was of course to use SimpleQuery to > return arrays of simple types, but the semantics (is that it?) are > different for SimpleQuery, as it only supports pure HQL/SQL and not > the criteria API. > > What I would love, is to see support for the criteria API in > SimpleQuery, if that's possible at all..? > > Any other solutions are welcome, however this might not be the right > list for that sort of debate... > > Sincerely > Kenneth Siewers Møller > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~---
