Replies: 2 comments 3 replies
-
|
Cc @yrodiere |
Beta Was this translation helpful? Give feedback.
0 replies
-
Exactly this. In general:
If you think that's a confusing (to be polite) convention, I can't disagree. There are plans to improve the situation in the future: #48688 To solve your immediate problem, I would recommend that you retrieve persistence units via |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are using Hibernate ORM extensively, and to avoid config errors impacting production, we have tied Quarkus Hibernate ORM extension to the service health check. The check is implemented by getting the
EntityManagerFactoryusingJPAConfig.getEntityManagerFactory(persistenceUnit), and when the lib implementing the check:the check fails at runtime, as the signature of the
getEntityManagerFactorymethod is changed by #48007 to include a secondbooleanparameter signifying reactivity of the persistence unit.To us, this is a breaking change in the API of
JPAConfigand thus in the Quarkus Hibernate ORM Extension, that is mentioned neither in the Quarkus 3.26 migration guide nor the release blog post (though the latter does reference #48007).Is this a bug or an oversight? Or is the public
JPAConfigclass considered internal? Or something else entirely?Beta Was this translation helpful? Give feedback.
All reactions