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

Create Maven module shardingsphere-jdbc-core-jakarta using Jakarta EE 9 API #29209

Closed
1 of 3 tasks
linghengqian opened this issue Nov 26, 2023 · 3 comments
Closed
1 of 3 tasks

Comments

@linghengqian
Copy link
Member

linghengqian commented Nov 26, 2023

Feature Request

For English only, other languages will not be accepted.

Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Is your feature request related to a problem?

Describe the feature you would like.

  • Since Migrate from Jakarta EE 8 to Jakarta EE 9 #27976 is controversial at the current milestone, I propose another transition option for migrating to Jakarta EE. That is, create Maven module shardingsphere-jdbc-core-jakarta using Jakarta EE 9 API through Eclipse Transformer. Refer to https://github.com/eclipse/transformer .
  • This involves the following steps.
    • Migrate from Java EE 8 to Jakarta EE 8. This will only change the GAV information of the corresponding dependencies to align the behavior of Spring Boot 2.2-2.7.
    • Create a Jakarta EE 9 variant of ShardingSphere JDBC Core. The series of processing of ShardingSphere at DistSQL is ignored for the time being, because DistSQL only involves ShardingSphere Proxy.
    • Migrate nativeTest targeted by shardingsphere-test-native to the new Maven module. To be honest, I believe that all GraalVM Native Image application scenarios on the Web are located under Jakarta EE.
@linghengqian
Copy link
Member Author

linghengqian commented Nov 26, 2023

  • I'm working on this issue.
  • Variants involving the following dependencies:
    • shardingsphere-jdbc-core-jakarta corresponds to shardingsphere-jdbc-core

@linghengqian
Copy link
Member Author

@linghengqian
Copy link
Member Author

linghengqian commented Dec 13, 2023

  • This issue is no longer relevant as there are only 4 Optional modules that actually need to consider the jakarta variant. But we may need to consider additional abstractions to unify javax and jakarta.
    • org.apache.shardingsphere:shardingsphere-transaction-xa-core
    • org.apache.shardingsphere:shardingsphere-transaction-xa-spi
    • org.apache.shardingsphere:shardingsphere-transaction-xa-atomikos
    • org.apache.shardingsphere:shardingsphere-transaction-xa-narayana

@linghengqian linghengqian closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2023
@linghengqian linghengqian removed their assignment Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant