DataSourceConfig

@Configuration
class DataSourceConfig

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@Bean(name = ["repoDataSource"])
@ConfigurationProperties(prefix = "spring.datasource.hikari")
fun apiDataSource(): DataSource
Link copied to clipboard
@Bean(name = ["repoTransactionManager"])
fun apiTransactionManager(): PlatformTransactionManager