Hi,
I suggest doing something like that (this example was not tested):
On Wed, Jun 10, 2009 at 9:06 PM, cbchhaya wrote:
>
> Unfortunately that doesn't work either.
>
> The question in really simple terms:
>
> What should be the result map for this clas
Unfortunately that doesn't work either.
The question in really simple terms:
What should be the result map for this class:
class Attribute {
String name;
List values;
}
cbchhaya wrote:
>
> Almost, except that I am already using a result-mapping to get all
> attributes for an object,
Almost, except that I am already using a result-mapping to get all attributes
for an object, and every attribute has a bunch of fields, one of which is a
list of strings. Having already selected all the required data, I am just
looking for a way to bunch up the 'attrValue' field into a list of str
I'm not 100% sure, but it looks to me as if this is the subject of the
"Result Maps"/"Complex Collection Properties" section of the
"Developer Guide" document.
On Wed, Jun 10, 2009 at 3:59 AM, cbchhaya wrote:
>
> I have the following classes:
> class Attribute {
> String attrName;
> List val