aaaaaahh ok.
It could be set to others too as any other default-setting.
We already use default-settings to set the driver and some others properties
in others dialects and, only as information, we already have, since long
time, two unused variable in the base Dialect:
/// <summary></summary>
protected const string DefaultBatchSize = "15";

/// <summary></summary>
protected const string NoBatch = "0";
;)

On Wed, Mar 23, 2011 at 2:45 PM, Roger Kratz <[email protected]>wrote:

> None I assumed (?).
>
> That's why I, out of curiousity, wondered why this should be set on mssql
> dialect and not others.
>
> ________________________________
> Från: [email protected] [
> [email protected]] för Fabio Maulo [
> [email protected]]
> Skickat: den 23 mars 2011 18:30
> Till: [email protected]
> Ämne: Re: [nhibernate-development] Default values
>
> and which other has a default in NH ?
>
> On Wed, Mar 23, 2011 at 2:17 PM, Roger Kratz <[email protected]
> <mailto:[email protected]>> wrote:
> Any particual reason why MsSql should have another default value for
> command timeout than other db vendors?
>
> ________________________________
> Från: [email protected]<mailto:
> [email protected]> [
> [email protected]<mailto:
> [email protected]>] för Fabio Maulo [
> [email protected]<mailto:[email protected]>]
> Skickat: den 23 mars 2011 17:49
> Till: [email protected]<mailto:
> [email protected]>
> Ämne: [nhibernate-development] Default values
>
> http://216.121.112.228/browse/NH-2593
> I'm going to add some default values to MsSql dialect:
> DefaultProperties[Environment.BatchSize] = "20";
> DefaultProperties[Environment.CommandTimeout] = "10";
> DefaultProperties[Environment.QuerySubstitutions] = "true 1, false 0, yes
> 'Y', no 'N'";
>
> Note: Possible Breaking Changes reported in releasenotes.txt
>
> Even if I have commited the change I would know your opinion (we can revert
> it were needed).
> --
> Fabio Maulo
>
>
>
>
> --
> Fabio Maulo
>
>


-- 
Fabio Maulo

Reply via email to