-
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
How support multiple tenant root with hibernate6 ? #35424
Comments
Thanks for reporting. Note: this relates to #35332 Quoting my comment there; a PR solving this would need to:
|
When will this issue be merged into version 3.2. x? As far as I know, version 3.2 is the LTS version |
I understand that this is a bug and not a new feature. |
The PR itself is called "Support for multi tenancy root mode", and it adds the ability to declare one tenant as the "root", able to access all data. Discriminator multi-tenancy can reasonably be used without it as far as I know, considering no other form of multi-tenancy supports it. Looks like a feature to me. Anyway, we can argue about the semantics all day, but at the end you'll need someone who actually works on LTS (i.e., not me, possibly @gsmet) to agree to do the work. |
Description
In Springboot
application.yml
TenantResolver.java
But in Quarkus 3.x
I can not find how to query ignore tenant like
CurrentTenantIdentifierResolver .isRoot
application.properties
quarkus.hibernate-orm.multitenant=DISCRIMINATOR
CustomTenantResolver.java
Implementation ideas
like this
The text was updated successfully, but these errors were encountered: