Future direction Jakarta Data and Panache Repositories #44303
Replies: 3 comments 3 replies
-
To clarify for others, you can already use Jakarta Data in Quarkus -- though documentation needs work. @FroMage is currently working on "Panache 2" which should unify Jakarta Data, Hibernate ORM's native One thing I'd like to stress is that Jakarta Data in JPA is fundamentally about |
Beta Was this translation helpful? Give feedback.
-
We've had quite a few discussion about this, and the plan is to achieve a good degree of alignment, without losing the distinct programming model that's in Panache ("active record" rather than "repository", essentially). @FroMage is currently working on untying this knot.
They're not yet in the spec (See jakartaee/data#539) but they're already supported in Hibernate Data Repositories https://docs.jboss.org/hibernate/orm/6.6/repositories/html_single/Hibernate_Data_Repositories.html#query-method. |
Beta Was this translation helpful? Give feedback.
-
Which direction are you going with Panache? Is it the idea that it will align with the Jakarta Data or will it stay a separate option for persistence? Jakarta Data takes the route of allowing one repository for a group of related entities, which I prefer. Or are both (Jakarta Data and Panache Repository) supported at the same time as long as they do not support the same set of features? It would be nice to hear what are your thoughts on the matter. If we would start a new project, which persistence abstract layer would you recommend or would you suggest using both at the same time? As I understand projection queries are not a part of Jakarta Data yet.
Beta Was this translation helpful? Give feedback.
All reactions