hi all, i have a class Parent which references a collection of
istances of class Child.
i need to add to this collection a list of children selected using a
hql query.
so my code is similar to
Parent p = GetParent();
IList<Child> children =
Session.GetNamedQuery("GetChildren").List<Child>();
foreach(Child c in children)
{
p.Children.Add(c);
}
So i'm using Child istances only to add them to the Parent.Children
collection,
my question is if it's possible to have an hql query which will return
a list of proxies?
(so in the generate hql i will only select the id)
--
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.