-
Notifications
You must be signed in to change notification settings - Fork 3.6k
HHH-19559, HHH-19580 schema-based multitenancy #10424
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
…Impl as requested by @sebersole
configuring a TenantSchemaMapper turns on schema-based multitenancy
Thanks for your pull request! This pull request appears to follow the contribution rules. › This message was automatically generated. |
I believe this is ready to merge now. Of course we can still make further adjustments. |
- skip test on SQL Sever + Sybase due to incomplete JDBC implementation - also skip on Oracle and MySQL since we can't create schemas - test should not have a @TenantID
* @since 7.1 | ||
*/ | ||
@Incubating | ||
SchemaManager forSchema(String schemaName); |
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.
Would forTenant
make sense, maybe?
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.
Maybe. Why not?
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.
It would have to know how to use the MultiTenantConnectionProvider
though.
Rebase of #10372
[Please describe here what your change is about]
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.
https://hibernate.atlassian.net/browse/HHH-19559
https://hibernate.atlassian.net/browse/HHH-19580