[ 
https://issues.apache.org/jira/browse/JDO-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928831#comment-17928831
 ] 

Craig L Russell commented on JDO-846:
-------------------------------------

The javax.transaction.Synchronization interface has only two trivial methods: 
beforeCompletion and afterCompletion. In order to use these, the user must 
provide a class that implements the Synchronization interface. 

We could remove the need for either javax or jakarta by providing an 
org.apache.Synchronization with the two methods. Then we would remove the 
import of javax.transaction.Synchronization. This would be a breaking change 
but there would not be any code changes in user code, just recompilation.

> Check upgrade references from javax to jakarta
> ----------------------------------------------
>
>                 Key: JDO-846
>                 URL: https://issues.apache.org/jira/browse/JDO-846
>             Project: JDO
>          Issue Type: Task
>          Components: api, tck
>    Affects Versions: JDO 3.2.1
>            Reporter: Michael Bouschen
>            Priority: Major
>
> The following packages switched from javax to jakarta:
>  * javax.persistence
>  * javax.transaction
> We should check whether we can support both packes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to