Interface DataSourceJdbcBuildTimeConfig


  • public interface DataSourceJdbcBuildTimeConfig
    • Method Detail

      • enabled

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

        @WithDefault("false")
        boolean tracing()
        Enable JDBC tracing. Disabled by default.
      • telemetry

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