-
Notifications
You must be signed in to change notification settings - Fork 3k
Do not require a default datasource definition when using a MultiTenantConnectionProvider #48699
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
Conversation
/cc @gsmet (hibernate-orm) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@geoand Is this because of some new rule I'm not aware of... ? |
What are you referring to, my edit? The reason I do that is because it makes GH UI automatically "expand" the link in the description |
Yes that's what I meant.
I see, thanks. I'll try to remember. |
👌🏽 |
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.
looks good 😃
There's definitely a lot of cleanup to do in this area, but I tried to keep the changes minimal for now...
+1 I wish we just set the datasource name to an empty optional if there's a db multitenancy, so that we won't even get into injectDataSource
in that scenario
...ime/src/main/java/io/quarkus/hibernate/orm/runtime/FastBootHibernatePersistenceProvider.java
Outdated
Show resolved
Hide resolved
…using connection provider) in integration tests
…ntConnectionProvider
Status for workflow
|
There's definitely a lot of cleanup to do in this area, but I tried to keep the changes minimal for now... hopefully we'll be able to make configuration much simpler once we upgrade to a version of Hibernate ORM with hibernate/hibernate-orm#10424