Class FHIRDbTenantDatasourceConnectionStrategy

  • All Implemented Interfaces:
    FHIRDbConnectionStrategy, QueryHints

    public class FHIRDbTenantDatasourceConnectionStrategy
    extends FHIRDbConnectionStrategyBase
    Hides the logic behind obtaining a JDBC Connection from the DAO code. Uses datasource and tenant ids configured in the fhir-server-config to map directly to a managed datasource. All managed datasources must be available when the server starts. This differs from the proxy datasource strategy FHIRDbPropsConnectionStrategy which supports dynamic (programmatic) definition of managed datasources.