Interface DataSourceJdbcBuildTimeConfig


public interface DataSourceJdbcBuildTimeConfig
  • Method Details

    • enabled

      @WithParentName @WithDefault("true") boolean enabled()
      If we create a JDBC datasource for this datasource.
    • driver

      Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> driver()
      The datasource driver class name
    • transactions

      @WithDefault("enabled") TransactionIntegration transactions()
      Whether we want to use regular JDBC transactions, XA, or disable all transactional capabilities.

      When enabling XA you will need a driver implementing XADataSource.

    • enableMetrics

      @Deprecated(forRemoval=true) Optional<Boolean> enableMetrics()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Enable datasource metrics collection. If unspecified, collecting metrics will be enabled by default if a metrics extension is active.

      Please use quarkus-micrometer and the quarkus.datasource.metrics.enabled property

    • telemetry

      @WithDefault("false") boolean telemetry()
      Enable OpenTelemetry JDBC instrumentation.
    • metrics