Very difficult is the art of asking questions with enough detail to get helpful responses without posting too much detail so as to be completely ignored..
On Jul 5, 10:14 am, Joe B <[email protected]> wrote: > can anyone shed some light on this? > > On Jul 1, 5:17 pm, Joe B <[email protected]> wrote: > > > > > 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).- Hide quoted text - > > - Show quoted text - -- 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.
