Subject | Re: Problem with FBManagedConnection |
---|---|
Author | patcom123 |
Post date | 2002-02-17T11:03:11Z |
--- In IB-Java@y..., David Jencks <davidjencks@d...> wrote:
problem would be managed environments which called
removeEventListener themselves? In which case it needs to be put in
the standalone wrapper?
JOHN
> This is almost exactly correct. The only difference needed is toremove the
> ConnectionEventListener _before_ putting the managed connectionback in the
> pool. Otherwise you can get very strange results whereby someoneelse
> starts using the connection before the old listener is removed -- Ithink
> exactly the situation you found originally.I see your point on multiple connections, but i thought a bigger
problem would be managed environments which called
removeEventListener themselves? In which case it needs to be put in
the standalone wrapper?
> Thanks again for finding this.No problem.
JOHN