You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/23 10:14:00 UTC

[jira] [Created] (OFBIZ-13723) Upgrade geronimo-transaction to 4.0.0 and migrate from javax.transaction to jakarta.transaction

Mridul Pathak created OFBIZ-13723:
-------------------------------------

             Summary: Upgrade geronimo-transaction to 4.0.0 and migrate from javax.transaction to jakarta.transaction
                 Key: OFBIZ-13723
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13723
             Project: OFBiz
          Issue Type: Improvement
          Components: framework/entity
    Affects Versions: Upcoming Branch
            Reporter: Mridul Pathak
            Assignee: Mridul Pathak


h3. Problem
geronimo-transaction 4.0.0 implements the Jakarta Transactions 2.0 API ({{jakarta.transaction}}), so the Dependabot update (#2410) does not compile against our {{javax.transaction}} code. Commons DBCP's managed connection pool, which enlists our JDBC connections, is still only available for {{javax.transaction}} (DBCP-589).

h3. Proposal
Move OFBiz from {{javax.transaction}} to {{jakarta.transaction}} ({{javax.transaction.xa}} stays, it is part of the JDK), upgrade to geronimo-transaction 4.0.0, and replace commons-dbcp2 with {{org.apache.tomcat:tomcat-dbcp}}, the same DBCP 2.14.0 code repackaged by Tomcat for {{jakarta.transaction}} and versioned with our Tomcat dependency. Custom code that uses {{javax.transaction}} types returned by {{TransactionUtil}} (for example {{suspend()}}) needs the same import change. The passport plugin needs a matching change in ofbiz-plugins.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)