jakarta.persistence #3773
Replies: 3 comments 23 replies
-
We'll want to publish both By automating this at build-tool level, it would be easier for end users as they'll be able to switch API at a time which suits them, without having to switch ORM implementation at the same time (which in an ideal world is flawless but in practice could be problematic). I suggest we start prototyping this in the 1 - and I'd rather have us prepared for a very fluid definition of "while" - as you mentioned in another context, and I completely agree, we will have people wanting to migrate not only this summer but also for some years to come. |
Beta Was this translation helpful? Give feedback.
-
Oh gawd I hate that idea. It only works for as long as there is no difference between I think we should support both APIs at the same time, via wrappers. |
Beta Was this translation helpful? Give feedback.
-
With Hibernate 5.5.0.Final we now have -jakarta artifacts that are created through build-time transformations. Also see https://in.relation.to/2021/06/04/hibernate-is-jakarta-jpa-2/ |
Beta Was this translation helpful? Give feedback.
-
For Hibernate 6 we need to decide how we're going to support the
jakarta.persistence
APIs.Currently
Session
directly extendsjavax.persistence.EntityManager
. This means that there's currently no way to use Hibernate without a dependence onjavax.persistence
.But eventually we'll need to also support
jakarta.persistence
. We need to figure out how to do that, and I would rather make sure our strategy is clear before releasing H6.Beta Was this translation helpful? Give feedback.
All reactions