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

Multitenancy with Spring-Data-JPA #119

Open
MurthyKVN opened this issue Apr 26, 2018 · 0 comments
Open

Multitenancy with Spring-Data-JPA #119

MurthyKVN opened this issue Apr 26, 2018 · 0 comments

Comments

@MurthyKVN
Copy link

Hi

we are using hibernate-redis-2.4.0 with Hibernate 5.0.12 and Spring-Data-JPA 1.11. We have enabled multitenancy with schema approach. We could see entries in redis server with keys containing tenantId and primary-key of the entity.

Now, while accessing the application same entity is being loaded for both tenants. We have observed from logs that the tenantId is being resolved properly in both the cases.

Anybody faced this kind of issue.

Please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant