In Hibernate how do I provide a unique database connection per user (Multitenancy)?
Issue
-
How can I provide a unique connection login for each of our tenants. In this fashion, with the goal of only allowing each tenant to see the partition of the schema with their data.
-
How do I do multi-tenancy in Hibernate?
Environment
- JBoss Enterprise Application Platform
- 4
- 5
- Hibernate
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.