How to resolve poor nHibernate collection initialization

后端 未结 3 1606
花落未央
花落未央 2021-01-07 05:20

nHibernate3; retrieving 4xxx records out of an EAV data schema. When nHibernate, or .NET, goes to initialize those collections for the first time, we\'re seeing a severe pen

3条回答
  •  一生所求
    2021-01-07 06:01

    If you are using this session only for reporting, you have to use Stateless Sessions: http://nhforge.org/blogs/nhibernate/archive/2008/10/30/bulk-data-operations-with-nhibernate-s-stateless-sessions.aspx

提交回复
热议问题