Schema per tenant in eclipselink using spring boot

13 Views Asked by At

I have an application which uses EclipseLink as a JPA provider and spring boot, in that, I want to implement schema per tenant multi-tenancy. I have gone through documentation and used @Multitenant annotation, but I want to know how can we 1) switch between schema based on the request and 2) create a new schema with tables automatically whenever a new tenant is accessed.

0

There are 0 best solutions below