Package io.quarkus.agroal.runtime
Interface DataSourceJdbcBuildTimeConfig
public interface DataSourceJdbcBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionOptional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> driver()The datasource driver class namebooleanenabled()If we create a JDBC datasource for this datasource.Enable datasource metrics collection.booleanEnable OpenTelemetry JDBC instrumentation.Whether we want to use regular JDBC transactions, XA, or disable all transactional capabilities.
-
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
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
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.
-