When I have applied your path I have seen the issue and already applied the same proposition as you :-)
> > ok, done
>
> Wait a moment, please!
>
> > command.CommandTimeout = this.Connection.ConnectionTimeout;
> >
> > to the SqlMapSession.CreateCommand(CommandType commandType) method
>
> I make some test and got NullReferenceException - inside
> SqlMapSession.CreateCommand _connection is undefined while iBATIS is
> configured.
>
> I've made wrong proposition - please fix it.
> Here is command timeout assignement inside SqlMapSession.CreateCommand and
> DaoSession.CreateCommand :
>
> // Assign connection timeout
> if(_connection != null)
> command.CommandTimeout = _connection.ConnectionTimeout;
>
> > Thanks.
> >
> > ----- Original Message -----
> > From: "Alexey Boroday" <[EMAIL PROTECTED]>
> > To:
> > Sent: Tuesday, December 28, 2004 4:06 PM
> > Subject: Command timeout != Session timeout
> >
> >
> > Hello!
> >
> > I've found that command timeout is not equal to the
> > connection timeout.
> > Connection timeout I could change via connection string for the MS SQL
> > database at least.
> > To fix this I propose to add somehting like:
> >
> > command.CommandTimeout = this.Connection.ConnectionTimeout;
> >
> > to the SqlMapSession.CreateCommand(CommandType commandType) method or
> > anywhere else.
> >
> >
> > --
> > ? ?????????, ??????? ???????
> > ????? ?????????? ??
> >
> >
> > ______________________________________________________________
> > _____________
> >
> > This communication is confidential and may be legally privileged.
> > If you believe you are not an intended recipient, please
> > inform the sender,
> > delete the e-mail and do not copy, print or use it or
> > disclose it to others.
> > You can inform the sender by replying to this e-mail or by
> > telephone (+380
> > 44 4906080).
> >
> >
> >
>
>
> ___________________________________________________________________________
>
> This communication is confidential and may be legally privileged.
> If you believe you are not an intended recipient, please inform the sender,
> delete the e-mail and do not copy, print or use it or disclose it to others.
> You can inform the sender by replying to this e-mail or by telephone (+380 44 4906080).
>
>
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)