Subject Re: Problem with FBManagedConnection
Author patcom123
--- In IB-Java@y..., David Jencks <davidjencks@d...> wrote:
> This is almost exactly correct. The only difference needed is to
remove the
> ConnectionEventListener _before_ putting the managed connection
back in the
> pool. Otherwise you can get very strange results whereby someone
else
> starts using the connection before the old listener is removed -- I
think
> 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