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

--- Comment #4 from Christopher Schultz <[email protected]> ---
I'd be happy to write a patch for this, but I want to make sure I understand
how the XAConnection is being used. My understanding is that XAConnection is
just a very special case, and if the caller is asking for one of those, we
return it directly and no unwrapping is necessary. Does that sound correct?

I'm inclined to add direct support for the java.sql.Wrapper interface (e.g. by
implementing it) but I think that would cause an ABI issue that wouldn't be
okay to introduce in a point-release. If we were to add "implements Wrapper" to
the ProxyConnection class, it would have to be done in Tomcat 12, and that
makes back-porting a little more difficult.

My plan would be to make all the other changes first, and then add the
"implements Wrapper" as a final step which is only applied to the main branch.

-- 
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