Class SetTenantIdDb2

  • All Implemented Interfaces:
    IDatabaseStatement

    public class SetTenantIdDb2
    extends Object
    implements IDatabaseStatement
    Sets the FHIR_ADMIN.SV_TENANT_ID variable which is used for row-based permissions in the Db2 multi-tenant schema. Because we are running as admin, we can set this variable directly and do not need to use the stored procedure (which would required the tenant key).
    • Constructor Detail

      • SetTenantIdDb2

        public SetTenantIdDb2​(String adminSchemaName,
                              int tenantId)
        Public constructor
        Parameters:
        schemaName -
        resourceType -