Subject | RE: [firebird-support] Re: multithreaded application |
---|---|
Author | Alan McDonald |
Post date | 2006-09-25T21:24:10Z |
> > then I wouldn't refer to this as local connection. It's a remoteeach thread must have it's own session and connection. If you are currently
> connection
> > even though you are talking to a server on the same machine, it's
> operating
> > in it's own process space so it's remote.
>
> yes, thats what I meant, its remote on same machine, when I use
> cpLocal the situation is even worse.
>
> > You say that you "dropped IB_Session component" - I don't know what
> you nean
> > here. Did you right click on the datamodule and ensure the creation
> order of
> > the components? i.e. that IB_Session was first?
> > Alan
>
> Ok, i did everything as I found on the group. I use the newest IBO
> 4.6Bc components and still got problem. Creation order is rigth, Ive
> got only one question. Does TIBODatabase provide different connection
> for each thread? I use IB_Session with TIBODatabase but I couldnt find
> example of it in multithreaded application.
>
> pf
trying to use the same components from each thread, then that's you problem.
Alan