Subject | Re: Re: [IBO] ICS ERROR 335544726 |
---|---|
Author | Helen Borrie |
Post date | 2003-07-14T14:09:12Z |
At 07:10 PM 14/07/2003 +0530, you wrote:
created. In order to AVOID the default ib_session from getting created at
all, you must set down your own TIB_Session component as the -=first=-
component created in the form or datamodule. You canNOT share a connection
across threads. You must ensure that each instance of a thread has its
own, self-contained database session "kit" - just as every mountaineer in
an expedition has his own boots, crampons and water-bottle.
Helen
> >Threads can't share the default session. When creating datamodules forNO!!! The default IB_Session is created when the first IB_Connection is
> >threads, you must drop an explicit TIB_Session component in there and make
> >it first in the creation order.
> >
> >Helen
>
>Jumping into this thread because it seems similar to some problems I have
>faced
>
>Does this mean that if I am using multiple thread I can use the SAME
>CONNECTION but
>create SEPERATE SESSION objects for each thead
created. In order to AVOID the default ib_session from getting created at
all, you must set down your own TIB_Session component as the -=first=-
component created in the form or datamodule. You canNOT share a connection
across threads. You must ensure that each instance of a thread has its
own, self-contained database session "kit" - just as every mountaineer in
an expedition has his own boots, crampons and water-bottle.
Helen