MiĆosz Korman
03/23/2022, 3:14 PMkotlin.NotImplementedError: An operation is not implemented: Missing impl for throw RuntimeException(ex) .../DatabaseConfiguration.kt (org.jetbrains.kotlin.psi.KtThrowExpression)
MiĆosz Korman
03/23/2022, 3:15 PMthrow RuntimeException(ex)
is situated looks like this
@Bean
fun dataSource(
hikariCpProperties: HikariCpProperties,
meterRegistry: MeterRegistry
): TransactionAwareDataSourceProxy =
hikariCpProperties.apply {
this.metricsTrackerFactory = MicrometerMetricsTrackerFactory(meterRegistry)
this.poolName = "PostgreSQL"
this.addDataSourceProperty("applicationName", "app")
}.let {
try {
TransactionAwareDataSourceProxy(HikariDataSource(it))
} catch (ex: SQLException) {
throw RuntimeException(ex)
}
}
MiĆosz Korman
03/23/2022, 3:15 PMAlejandro Serrano Mena
03/23/2022, 3:17 PMMiĆosz Korman
03/23/2022, 3:17 PM2.0
versionAlejandro Serrano Mena
03/23/2022, 3:20 PMMiĆosz Korman
03/23/2022, 3:25 PM