-
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
Initialize defaultCatalog and defaultSchema in Hibernate ORM config #23422
Conversation
Failing Jobs - Building 407910c
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: integration-tests/grpc-hibernate
📦 integration-tests/grpc-hibernate✖
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, go ahead.
However:
- If this is a problem, I'm surprised we don't have half of our testsuite failing with an NPE?
- Shouldn't quarkus-config do this for us? It seems like a sane default.
I know it's a problem because I had to do it for the others. Someone reported the NPE to me in private. I have no idea though why the test suite is not reporting the error. |
My guess is that it's probably because we always have As long as we have one config in this root, it's not a problem. |
Maybe we should not call the constructor directly in this case, but ask quarkus-config (whatever it's named, the module that deserializes config) to instantiate an empty config? That way, defaults are set correctly, and we don't have to be so careful about what we do in this file. I'll look into this when I have some time. |
No NPE in particular; see for example quarkusio#23422
No NPE in particular; see for example quarkusio#23422
No description provided.