Subject Re: [Firebird-Java] Closing connections, patches and other XA things.
Author Roman Rokytskyy
> If you are worried about creating lots of garbage we could cache it when the gds is assigned to the GDSHelper in the constructor and then just return the same proxy. The proxy has no state so we should be able to share if we can share the underlying gds.

Yes, that is an option. But what's the difference between creating the
GDS proxy and adding appropriate methods into GDSHelper? Also, proxy has
state, since the listeners registered on it are instances of
ManagedConnection and are bound to it.

Roman