Interface TenantSchemaProvider

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface TenantSchemaProvider
    For multi-tenancy via DB SCHEMA supply the schema given the tenantId.
    • Method Detail

      • schema

        String schema​(Object tenantId)
        Return the DB schema for the given tenantId.
        tenantId - The current tenant id.
        The DB schema to use for the given tenant