Class PostgresConfiguration
java.lang.Object
org.dotwebstack.framework.backend.postgres.PostgresConfiguration
@Configuration
@EnableConfigurationProperties(PostgresProperties.class)
public class PostgresConfiguration
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionPostgresConfiguration(PostgresProperties postgresProperties, Collection<io.r2dbc.postgresql.extension.CodecRegistrar> codecRegistrars) -
Method Summary
Modifier and TypeMethodDescriptionio.r2dbc.spi.ConnectionFactoryorg.jooq.DSLContext
-
Constructor Details
-
PostgresConfiguration
public PostgresConfiguration(PostgresProperties postgresProperties, Collection<io.r2dbc.postgresql.extension.CodecRegistrar> codecRegistrars)
-
-
Method Details
-
dslContext
@Bean public org.jooq.DSLContext dslContext() -
connectionFactory
@Bean public io.r2dbc.spi.ConnectionFactory connectionFactory()
-