Search code examples
javaapache-karafopenjpaquarkus

Quarkus compatibility with openjpa and other lib/frameworks?


I would really like to use graalVM for its AOT capabilities to reduce dramatically boot time of my Apps. When I read that Quarkus.io and graalVM AOT were working well with hibernate I really had the feeling that a big step was achieved. But my app relies on openJPA and migration is not really do-able quickly. Does someone know if Quarkus /GraalVM has been tested with openjpa?

Another question I have in mind is if Quarkus is compatible of Karaf/OSGI platforms? Any tries around?


Solution

  • Quarkus has only been tested with Hibernate as a JPA provider. And to be honest Hibernate seems to have been one of the most challenging aspects to integrate into Quarkus. Furthermore, getting Hibernate work with Ahead Of Time metadata required some changes on the Hibernate side itself.

    Let's not forget that Quarkus integrations are meant to only be very performant, but to work Out Of The Box in GraaVM native mode as well