Interface DataSourceJdbcBuildTimeConfig


public interface DataSourceJdbcBuildTimeConfig
  • Method Details

    • enabled

      @WithParentName @WithDefault("true") boolean enabled()
      If we create a JDBC datasource for this datasource.
    • 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

      Optional<Boolean> enableMetrics()
      Enable datasource metrics collection. If unspecified, collecting metrics will be enabled by default if a metrics extension is active.
    • telemetry

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