Deprecated API

Contents

  • Deprecated Methods
    Method
    Description
    This may not account for datasources deactivated automatically (due to missing configuration, ...). To check if a datasource bean is active, use Arc.container().select(...).getHandle().getBean().isActive(). Alternatively, to check if a datasource is active, use the utils AgroalDataSourceUtil#dataSourceIfActive(...)/AgroalDataSourceUtil#activeDataSourceNames() or ReactiveDataSourceUtil#dataSourceIfActive(...)/ReactiveDataSourceUtil#activeDataSourceNames().
    This may not account for datasources deactivated automatically (due to missing configuration, ...). To check if a datasource is excluded from health checks, use DataSourceSupport.getHealthCheckExcludedNames(). To check if a datasource bean is active, use Arc.container().select(...).getHandle().getBean().isActive(). Alternatively, to check if a datasource is active, use the utils AgroalDataSourceUtil#dataSourceIfActive(...)/AgroalDataSourceUtil#activeDataSourceNames() or ReactiveDataSourceUtil#dataSourceIfActive(...)/ReactiveDataSourceUtil#activeDataSourceNames().