I've experimented with another approach, a single version
supporting both javax.transaction and jakarta.transaction:
https://github.com/ebourg/commons-dbcp/tree/dual-javax-jakarta
The only classes using javax.transaction are in the
org.apache.commons.dbcp2.managed
package. This package is copied at build time to
org.apache.commons.dbcp2.managed.jakarta
with the javax imports replaced.
This solution is easier than maintaining two versions is parallel.
What do you think?
Emmanuel Bourg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]