Hi,
I'm trying to use the loader query-ref for a collection like the
following:
<set name="Families" inverse="true">
<key/>
<one-to-many class="FamilyUnit" />
<loader query-ref="LoadItems" />
</set>
.....
<sql-query name="LoadItems">
<load-collection alias="fam" role="PersonEntity.Families" />
SELECT {fam.*}
FROM FamilyUnit fam
WHERE ref_ent1 = :Entity_id OR ref_ent2 = :Entity_id
</sql-query>
The query runs properly but the collection is not populated.
Do you have any directions how to solve the problem.
Thanks
dyahav
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---