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

JPA static metamodel / Jakarta Data tests, dependency management and documentation #44278

Open
yrodiere opened this issue Nov 4, 2024 · 4 comments
Labels
area/hibernate-orm Hibernate ORM area/hibernate-reactive Hibernate Reactive area/jakarta kind/enhancement New feature or request

Comments

@yrodiere
Copy link
Member

yrodiere commented Nov 4, 2024

Description

We currently don't have guidance regarding the use of the JPA static metamodel or Jakarta Data in Quarkus.

Ultimately we will want to handle Jakarta Data in Panache and provide an integrated developer experience, but:

  1. This will require Panache 2, which still requires some time before it can get out.
  2. Some people will not be using Panache anyway.

So, let's:

  • Add dependency management for Jakarta Data dependencies, aligned on whatever Hibernate ORM requires/implements
  • Document how to use the JPA static metamodel and Jakarta Data in Quarkus. In particular Jakarta Data requires an additional runtime dependency.
  • Document known limitations. In particular, I suspect the annotation processor won't work great in dev mode, at least in Gradle -- I think @FroMage made it work with Maven, at least.
  • Add integration tests.
  • Perhaps, add a quickstart.

Implementation ideas

No response

Copy link

quarkus-bot bot commented Nov 4, 2024

/cc @DavideD (hibernate-reactive), @gavinking (hibernate-reactive), @gsmet (hibernate-orm,jakarta)

@maxandersen
Copy link
Member

related to #35603

@FroMage
Copy link
Member

FroMage commented Nov 4, 2024

I suspect the annotation processor won't work great in dev mode, at least in Gradle -- I think @FroMage made it work with Maven, at least.

I also added support for Gradle a while ago so we're good :)

@yrodiere yrodiere changed the title JPA static metamodel / Jakarta Data tests and documentation JPA static metamodel / Jakarta Data tests, dependency management and documentation Nov 6, 2024
@yrodiere
Copy link
Member Author

yrodiere commented Nov 6, 2024

We will need to think about dependency management for Jakarta Data as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hibernate-orm Hibernate ORM area/hibernate-reactive Hibernate Reactive area/jakarta kind/enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

3 participants