Hi,
I am working on Projections to retrieve only certain properties from my Object.
I have a TaskInstance which contains
{
private long id;
private String name;
private String desc;
private Map variableInstances;
.
.
}
VariableInstance{
private String name;
private String value:
.
.
.
.
}
TaskInstance has a 1 to many relationship with VariableInstance
I am trying to get only few properties from TaskInstance like Id , name and the Map variableInstances.
for Id and name works fine, it does not populate collection Map for variableInstances.
How to fetch association as map using Projection.
any help would be appreciated
|