https://bz.apache.org/bugzilla/show_bug.cgi?id=59569

--- Comment #7 from Shayan Davarzani <[email protected]> ---
I'd like to work on this one.

Plan, following comment #5: when the underlying connection itself
implements java.sql.Wrapper, ProxyConnection.isWrapperFor() will fall
back to delegating to it, and unwrap() will delegate to the underlying
connection's unwrap() when that returns true. The existing behaviour
(PooledConnection, XAConnection, direct instanceof match) stays as is
and is checked first.

I'll include a unit test using a double-wrapped connection from the
test driver, and submit it as a GitHub PR against main.

If you'd prefer a different approach, or want the same change applied
to the statement proxies as well, let me know.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to