Skip to content
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 to set up multi-tenancy in SpringDataJDBC? #1590

Closed
xhc-code opened this issue Aug 18, 2023 · 3 comments
Closed

How to set up multi-tenancy in SpringDataJDBC? #1590

xhc-code opened this issue Aug 18, 2023 · 3 comments
Labels
for: stackoverflow A question that's better suited to stackoverflow.com

Comments

@xhc-code
Copy link

Hi, How can I set up multi-tenancy in SpringDataJDBC? That is, set the query to attach the upper tenant condition uniformly at the time of query.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 18, 2023
@mp911de
Copy link
Member

mp911de commented Aug 24, 2023

There's no such support in Spring Data JDBC to set up filters for a tenant column.

@mp911de mp911de closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
@mp911de mp911de added for: stackoverflow A question that's better suited to stackoverflow.com and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 24, 2023
@schauder
Copy link
Contributor

There is a related feature request: #1547

@xhc-code
Copy link
Author

There's no such support in Spring Data JDBC to set up filters for a tenant column.

Hello, do you provide any extension points? If it cannot be directly supported, how can I indirectly configure and support tenants?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com
Projects
None yet
Development

No branches or pull requests

4 participants