[nhusers] Re: Memory Leak during Bulk Insert

2011-07-13 Thread Michael Hedgpeth
John, thanks for the clarification. I wasn't aware of that policy change. On Jul 13, 12:43 pm, John Davidson wrote: > Yes, transactions are mandatory for _ALL_ reads and writes using NHibernate. > > Since v2.x > > John Davidson > > On Wed, Jul 13, 2011 at 12:28

[nhusers] Re: Memory Leak during Bulk Insert

2011-07-13 Thread Michael Hedgpeth
Vahid, Even outside of the bulk question there still is a memory issue. The ActionQueue class is written in such a way that transactions should be explicit, or else it will leak memory while the session is alive. Is this intended behavior? On Jul 13, 10:49 am, Vahid wrote: > Bulk Data Operatio

[nhusers] Re: Memory Leak during Bulk Insert

2011-07-13 Thread Michael Hedgpeth
} This eliminates the memory leak, but in effect makes explicit transactions required while doing bulk inserts. On Jul 13, 10:05 am, Michael Hedgpeth wrote: > I am following the advice in the documentation regarding batch > inserts:http://nhforge.org/doc/nh/en/index.html#batch-inserts &g

[nhusers] Memory Leak during Bulk Insert

2011-07-13 Thread Michael Hedgpeth
Should the beforeTransactionProcesses be cleared when clearing the Action Queue? Thanks, Michael Hedgpeth -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com. To unsubscribe fro

[nhusers] Re: How to get NHibernate to not truncate nvarchar(max) properties

2011-06-22 Thread Michael Hedgpeth
. On Jun 21, 2:55 am, Bas wrote: > Hi Michael, > > You can find the solution here: > > http://www.basderaad.nl/2011/02/large-strings-in-nhibernate-3-0/ > > Bas > > On Jun 21, 12:58 am, Michael Hedgpeth wrote: > > > > > > > > > I recently upgra

[nhusers] How to get NHibernate to not truncate nvarchar(max) properties

2011-06-20 Thread Michael Hedgpeth
I recently upgraded from NHibernate 2.1 to 3.1. I am having a problem with NHibernate truncating my nvarchar(max) columns. This post describes my situation perfectly: http://www.primordialcode.com/Blog/Post/nhibernate-prepare_sql-considerations-mapping-long-string-fields. The current behavior se

[nhusers] Re: NHibernate and .Net 4.0

2010-05-04 Thread Michael Hedgpeth
I am having the same issue. All of my assemblies are on .NET 4.0, but are referencing assemblies that are compiled as .NET 2.0 (including NHibernate). The error I'm getting also happens on the BeginTransaction() call. I'm guessing this has something to do with my configuration, so here it is:

[nhusers] Preloading Children of a Children collection to avoid Select N+1 issue in tree

2009-10-05 Thread Michael Hedgpeth
I have the following tree in WPF: Product -> Feature -> Subfeature -> Test Case Each type is different, but they all have a Children and Parent property for navigating the tree. When using the WPF TreeView, if you expand one level, it will check the count of the "Children" pro

[nhusers] Re: Mapping multiple level inheritance hierarchy with table per class hierarchy method

2009-06-29 Thread Michael Hedgpeth
. Here is the corrected mapping file: On Mon, Jun 29, 2009 at 9:14 AM, Michael Hedgpeth wrote: > > In hopes that I can get a solution to my problem, I did some more > research with the NHibernate

[nhusers] Re: Mapping multiple level inheritance hierarchy with table per class hierarchy method

2009-06-29 Thread Michael Hedgpeth
but wasn't. The problem still remains when I make this correction. Is there something I need to do to provide more information beyond this? On Jun 25, 1:36 pm, Michael Hedgpeth wrote: > I have an issue with NHibernate giving me the following error: > > System.NotSupportedExcep

[nhusers] Mapping multiple level inheritance hierarchy with table per class hierarchy method

2009-06-26 Thread Michael Hedgpeth
following mapping xml: Any idea what I am doing wrong? Thanks! Michael Hedgpeth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "nh