Open FroMage opened 1 year ago
/cc @DavideD, @Sanne, @gavinking
/cc @DavideD, @Sanne, @gavinking
Looks like one for @Sanne, really.
I admit there's many things that could be more helpul in how HR and Quarkus are integrated, but we need to finish the upgrade to ORM6 first, then separate the HR extensions from the ORM one. They are too intertwined today and that's not helping.
Is this still an issue with ORM 6.x and HR 2.x?
The two extensions are still heavily intertwined, as we didn't have time to work on that. But I assume the extensions will "stabilize" after #31974 and then it's finally a good time to rewrite the HR extension to be independent.
If you think that I can help with this (post Quarkus 3.0), feel free to reach out :)
@geoand you certainly can :) The process in theory is simple:
Sounds easy 😆 😆 😆
Jokes aside, if no one picks that up post Quarkus 3.0, I will.
Description
When I create a Quarkus project using Hibernate ORM with an entity but without a database driver, I get the following error at startup:
When I try the same with Hibernate Reactive I get the following messages, but startup is not interrupted and my application then gets NPEs because I have no session:
It would be nice if the error was consistent and told the users that they need a DB driver and where to get one.
Attached: reproducers for both ORM and HR. Just start the apps with
mvn clean quarkus:dev
hibernate-reactive-no-driver.zip
Implementation ideas
No response