Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JtaTransaction does not use jarkarta prefix for javax.transaction classes #3064

Closed
martinoneutrino opened this issue May 19, 2023 · 0 comments · Fixed by #3067
Closed

JtaTransaction does not use jarkarta prefix for javax.transaction classes #3064

martinoneutrino opened this issue May 19, 2023 · 0 comments · Fixed by #3067
Assignees
Labels
Milestone

Comments

@martinoneutrino
Copy link

Expected behavior

JtaTransaction in the 13.17.4-jakarta release has the javax.transaction classes converted into the jakarta.transaction namespace.

package io.ebeaninternal.server.transaction;

import jakarta.persistence.PersistenceException;
import javax.sql.DataSource;
import jakarta.transaction.Status;
import jakarta.transaction.UserTransaction;
import java.sql.SQLException;

Actual behavior

package io.ebeaninternal.server.transaction;

import jakarta.persistence.PersistenceException;
import javax.sql.DataSource;
import javax.transaction.Status;
import javax.transaction.UserTransaction;
import java.sql.SQLException;

Steps to reproduce

    JtaTransaction newTrans = new JtaTransaction(true, ut, dataSource(), transactionManager);
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/ebeanproject/runtime/EbeanMyTransactionManager.java:[144,31] cannot access javax.transaction.UserTransaction
  class file for javax.transaction.UserTransaction not found
rob-bygrave added a commit that referenced this issue May 23, 2023
#3064 - JtaTransaction does not use jarkarta prefix for javax.transaction classes
@rob-bygrave rob-bygrave self-assigned this May 23, 2023
@rob-bygrave rob-bygrave added this to the 13.18.0 milestone May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants