-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-hibernate-reactive-panache: hibernate validate doesn't work #15785
Comments
/cc @DavideD, @FroMage, @Sanne, @gavinking, @loicmathieu |
Hi, this is a limitation listed in the README. We're working on it. |
Which README? For the extension? I also noticed there isn't a guide available for the |
The Hibernate Reactive README.md |
It's still an experimental feature but you can find some examples in the quickstart: https://github.com/quarkusio/quarkus-quickstarts/tree/development/hibernate-reactive-quickstart |
Sorry, it was the wrong quickstart. This is the one for |
This issue is a dupe of #10665. Can we just close it? |
#10665 seems related to this one but not the same use case, although from an implementation standpoint it might be more related? Essentially what's missing is the ability to validate the schema matches what the application "thinks" the schema should be. |
From an implementation standpoint I have no idea how I could make schema validation work without also making schema update work by side-effect :-) All we need to do is make a "mock" JDBC metadata API based on the reactive driver. |
That works for me. |
Describe the bug
When using the
quarkus-hibernate-reactive-panache
extension and settingquarkus.hibernate-orm.database.generation=validate
, the application fails to start with this exception:If I change
quarkus.hibernate-orm.database.generation=drop-and-create
then everything works as expected.The text was updated successfully, but these errors were encountered: