-
Notifications
You must be signed in to change notification settings - Fork 43
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
[QUARKUS 3] The Hibernate SessionFactory is not decorated by Hypersistence Optimizer, and, for this reason, the runtime checks will be disabled #208
Comments
Thanks for letting me know. I will investigate it and see what's needed to be done to make it work. |
@Vinche59 Unfortunately, runtime scanning cannot work for Quarkus because they are not using the Hibernate Instead, they created their own
Notice that the On the other hand, this works fine with Spring or plain Jakarta EE apps. For instance, the Spring
So, the only way to make this work is if Quarkus switches to using something similar to the Hibernate Core |
I created this Quarkus issue. If they fix it, the Hypersistence Optimizer will be able to declare the |
Thank you for your investigation @vladmihalcea and for opening the quarkus issue. |
You're welcome. |
Hello @vladmihalcea |
@adampoplawski, At the moment, I don't have the time to contribute that change to Quarkus, but if you have the time, you can surely provide the PR that does what Yoann suggested. Looking forward to your contribution. |
Hello,
With Quarkus 3.0.3 (Hibernate 6.2.1.Final + postgresql), I always got:
The Hibernate SessionFactory is not decorated by Hypersistence Optimizer, and, for this reason, the runtime checks will be disabled.
And I don´t understand what I'm doing wrong :-)
I created a reproducer here : https://github.com/Vinche59/hypersistence-optimizer-quarkus3.0.3
You can run it with:
mvn integration-test
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: