with NH3.2 you can eager load collection using Stateless Session. On Mon, Apr 25, 2011 at 4:19 PM, Rory Plaire <[email protected]> wrote:
> During bulk load of entities into a database, I have a scenario where an > incoming entity relies on an existing entity in the database in order to > compute a value. This dependency itself has a collection of value types > which is used to help compute this value. Since I am using > IStatelessSession, this collection is ignored when the entity is loaded via > the session. I'd like to handle the load of this collection manually but am > having trouble finding guidance on how to do this. > > Can anyone suggest the easiest way to query values into a collection > manually? > (If you want to answer on StackOverflow: > http://stackoverflow.com/questions/5780781/nhibernate-manually-handling-collection-of-values-reading-using-istatelesssessio > ) > > Thanks, > -rory > > -- > 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. > -- Fabio Maulo -- 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.
