Finn, I have encountered the same situation. When the batch size is greater than zero, the command timeout seems to be ignored. Did you ever find an answer to your question?
Russ On Friday, June 15, 2012 5:17:34 PM UTC-4, Finn Nielsen wrote: > > Hi all, > > We are using NHibernate 3.1 with FluentNHibernate 1.2. > > We are configuring the session factory fluently and setting the > adonet.batch_size property. Today I had the need to increase the > command timeout for analysis purposes, but noticed that no matter what > I set the command_timeout property to, then NHibernate ignored it and > kept with the default 30 sec command timeout. > > After a long while I disabled the batch size property (out of > desperation), and then the command timeout worked like a charm. But as > soon as I enabled the batching then the command timeout is stuck at 30 > sec default. > > Is it normally known that NHibernate does not allow combining batching > with command timeout? and if yes, why? > > Any comments are appreciated. :) > > Sign. FiNN -- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/Zjt0u_un9wQJ. 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.
