-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 combined with plain jdbc connection for quarkus security jdbc #14986
Comments
/cc @sberyozkin |
Hibernate Reactive does not support named datasources at the moment. Unfortunately, I don't think you can make your setup work at the moment. That being said, if you're using JDBC and thus a blocking implementation for security, I really don't see the point in trying Hibernate Reactive. I would stay on plain Hibernate ORM. |
Nevermind. I forgot that you can just create a new project via the quarkus.io tool and import it as a new module. I forgot that java & intellij have this module thing. Silly me |
Describe the bug
Defining a reactive datasource and a non-reactive jdbc datasource causes issues during startup. This happens if reactive and non-reactive data source share "default" and as well if the datasources are defined separately.
Expected behavior
hibernate-reactive orm uses reactive datasource, quarkus-security-jdbc uses non-reactive jdbc datasource
Actual behavior
Issues during startup e.g. with desperately defined data sources:
To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
https://github.com/heyplusyou/code-with-quarkus
Steps to reproduce the behavior:
Configuration
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of
uname -a
orver
:Linux pop-os 5.8.0-7642-generic Migrate Logging to Gizmo #47
161228899020.10~b8113e7-Ubuntu SMP Wed Feb 3 02:27:26 UTC 2 x86_64 x86_64 x86_64 GNU/LinuxOutput of
java -version
:openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9+11, mixed mode)
GraalVM version (if different from Java):
Quarkus version or git rev: 1.11.2
Build tool (ie. output of
mvnw --version
orgradlew --version
): Gradle 6.5.1The text was updated successfully, but these errors were encountered: