Subject Re: RC3
Author Roman Rokytskyy <rrokytskyy@acm.org>
> Did someone fix the problem with not closing statement handles? If
> not maybe we should implement the pooling/weak reference cleanup so
> it doesn't leak and doesn't stress the server so much.

I did.

FBConnection contains hard references on FBStatements. Statement
handles are deallocated on FBStatement.close(). If this does not
happen (people forget to close statements), FBConnection.close() will
first close its open statements and then itself. FBConnection.finalize
() will call FBConnection.close().

Yesterday I checked driver with JProbe, everything seems to be clean
with statement handles.

Roman