|Subject||RE: [IBO] Re: Thread Safe?|
> Ouch--I've been doing something wrong. I create all my data accessIt's not likely a problem would arise since the session is used mainly for
> objects with "nil" owner param. Haven't seen any problem and it's been
> running for years.
read-only purposes by the data access objects associated to it. Where you
would run into troubles is in either the creation or destruction of objects.
> > Do not pass in NIL as the owner for any ofI'll see about adding in a constructor for this too.
> > the other data access components unless you explicitly assign the
> > TIB_Session property after instantiating it. You can also use the
> > CreateForSession() constructor that allows you to give it an owner
> > and declare which session the component goes with.
> In one place I use a TIBOQuery, and this does not have a
> CreateForSession constructor--sounds like my old alternative is to not
> pass nil?