Thanks for the reply! I forgot to mention is that I'm using uNhAddIns. In this case, the session will be closed because utlizamos [PersistenceConversation (= ConversationEndMode EndMode.End)]. EndMode.Continue Mode that keeps the session open. But I can not use because I have to go to the bank at each query. Any suggestions would approach this situation?
Best regards! Oskar Berggren escreveu: > Den 11 april 2012 12:52 skrev Giulliano <[email protected]>: > > I have a mapping for the Slab object that has the mapping references > > to objects and SlabPDO SlabInstructions. I would like to do selects, > > always carry the object SlabPDO and load SlabInstructions only when > > necessary. Is there any way to do this? Below an example of mapping: > > > > > <set name="SlabInstructions" generic="true" inverse="true" > > lazy="false" cascade="all" fetch="join"> > > What you describe implies lazy=true and fetch != join (or not present). > > /Oskar -- 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.
