question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Any plans to offer a Jakarta version?

See original GitHub issue

In playing around with migrating Hibernate to Jakarta Persistence APIs I ran into trouble with our hibernate-jcache module. The only hang up I saw was that ehcache3 uses JAXB which would need to be updated to use Jakarta’s JAXB apis/impls.

Having done this for Hibernate I can offer some help/guidance. Let me know

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:22 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisdenniscommented, Feb 9, 2022

Just one thing to check. The ‘default’ artifacts still use javax packages. The Jakarta version are variants, to depend on them in Maven you would need:

<dependency>
    <groupId>org.ehcache</groupId>
    <artifactId>ehcache</artifactId>
    <version>3.10.0-alpha0</version>
    <classifier>jakarta</classifier>
</dependency>

or in Gradle (where everything will work more transparently)

implementation('org.ehcache:ehcache:3.10.0-alpha0') {
    capabilities {
        requireCapability("org.ehcache:ehcache-jakarta")
    }
}

Note: I typed the above from memory… I probably put in a bunch of typos and/or mistakes.

0reactions
snicollcommented, Mar 7, 2022

Very nice, thanks @chrisdennis!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Our (bumpy) road to Jakarta EE 10 - Quarkus
EE 9 is back in town​​ Well, actually, no. We won't publish any Jakarta EE 9-based version of Quarkus but… ​ Jakarta EE...
Read more >
Ambitious Plans to Build Indonesia a Brand New Capital City ...
Indonesia wants to build a $34 billion new capital city from scratch to help it reach high-income status by 2045. Source: Indonesia Ministry...
Read more >
Jakarta EE 10 Release Plan - GitHub Pages
The Jakarta EE 10 Platform release plan covers the Platform and Web Profile specifications. As stated earlier, all component Specifications which plan a...
Read more >
Jakarta EE 9 Release Plan Approved - Payara Blog
The approval of the Jakarta EE 9 Release Plan is a great milestone for the Jakarta EE project and a stepping stone towards...
Read more >
A Java 17 and Jakarta EE 9 baseline for Spring Framework 6
This forward-looking baseline will provide significant benefits in our API ... If Jakarta EE 9 is the minimum version supported for Spring ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found