as for the fetch mode on the LogNotes collection ..

preferably, I'd like to EXCLUDE these completely, not just lazy load
them.

This is a serious conundrum for me because I have another entity with
a child collection, mapped EXACTLY the same way as this, but when I do
a simply query without trying to set fetch modes on the other
entity ... the child collections NEVER come back. In this instance, I
cannot keep them from coming back.

Even if I could get these entities to lazy load, I'd have to loop
through every ticket in the result set and set the LogNotes collection
to null so that i don't get a 'cant retrieve lazy entities because no
session exists' or whatevr that error is. (I commit the transaction
before the method completes; before the service returns the entity
collection to the client over the wire).

-- 
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.

Reply via email to