I want to implement DISCRIMINATOR based Multi-Tenancy solution for Shared Schema Based Multi-Tenancy Model-common database schema for all tenants.
Technology stack
- Hibernate 3 Global filter (I can't use EclipseLink)
- Spring Data JPA - I want this because we are already using this one and we cant change it.
My questions are
- How to achieve this : Spring Data JPA has no any support for GLOBAL filter so I need to add customize Spring Data JPA repository which can in-turn apply global filter for DISCRIMINATOR based solution?
- At all, Is it possible to implement my requirement with Spring Data JPA+Hibernate 3?