-
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
Hibernate Reactive database generation issue #10665
Comments
/cc @aguibert, @gavinking, @Sanne |
Hibernate Reactive doesn't support schema update, I don't think. I mean, if you add a JDBC driver, perhaps it would work (I've never tried), but if you're using just the vert.x client, there is nothing like JDBC metadata available. |
@gavinking Is this planned to be supported in the future ? |
I suppose we'll need the Hibernate Reactive extension in Quarkus to check for the configuration to not have set "generation=update" and throw a more explicit error. |
@gavinking I added a DB metadata API in Vertx which should be available in version 3.9.2, so next time we upgrade Vertx we could in theory support this use case |
That's great but even so it would still likely be quite a lot of work to implement. |
This comment has been minimized.
This comment has been minimized.
and doesn't do anything.... |
To clarify: AFAIK, schema export does work in Quarkus with HR. This issue is specific to schema validation and update. |
Any update on this? |
hi @MartinX3 - yes this is implemented now. Sorry I forgot to close this ticket - it's out of date. Please try it! |
hi @Sanne I only use reactive without jdbc and set But sadly with
My gradle deps:
Also I don't find any quarkus qickstart or quarkus test using Maybe the same issue he has |
Oops sorry let's reopen this then. I thought it was working but clearly we need to check. |
Thank you very much |
Hibernate Reactive doesn't need the JDBC drivers, and it actually causes some problems (which we need to solve still but that's a different story); if Quarkus finds a JDBC driver on the classpath it's going to enable the jdbc support automatically. The quickstarts don't have any JDBC driver dependency so they don't need to explicitly disable it. |
But I also didn't add JDBC by myself. I wonder if it is connected to the missing panache reactive package for kotlin described in #16785. |
@MartinX3 that's odd - could you open a different issue focused on the |
Created #21227 |
I'm finding that this still doesn't work either (using HR and trying to set
Reproducer: https://github.com/quarkus-for-spring-developers/examples/tree/main/chapter-4/chapter-4-quarkus-panache-reactive-activerecord (need to change |
Hello. I am using Quarkus 1.6.0.Final and trying out Hibernate Reactive. I found the following issue when adding the properties:
Error:
It works when using
The text was updated successfully, but these errors were encountered: