Package io.nflow.engine.config.db
Class PgDatabaseConfiguration
- java.lang.Object
-
- io.nflow.engine.config.db.DatabaseConfiguration
-
- io.nflow.engine.config.db.PgDatabaseConfiguration
-
@Profile("nflow.db.postgresql") @Configuration public class PgDatabaseConfiguration extends DatabaseConfiguration
Configuration for PostgreSQL database.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPgDatabaseConfiguration.PostgreSQLVariantsSQL variants optimized for PostgreSQL.
-
Field Summary
-
Fields inherited from class io.nflow.engine.config.db.DatabaseConfiguration
NFLOW_DATABASE_INITIALIZER
-
-
Constructor Summary
Constructors Constructor Description PgDatabaseConfiguration()Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLVariantssqlVariants(Environment env)Creates the SQL variants for the database.-
Methods inherited from class io.nflow.engine.config.db.DatabaseConfiguration
checkDatabaseConfiguration, nflowDatabaseInitializer, nflowDatasource, nflowDatasource, nflowJdbcTemplate, nflowNamedParameterJdbcTemplate, nflowTransactionTemplate, property, property
-
-
-
-
Method Detail
-
sqlVariants
@Bean public SQLVariants sqlVariants(Environment env)
Creates the SQL variants for the database.- Specified by:
sqlVariantsin classDatabaseConfiguration- Parameters:
env- The Spring environment.- Returns:
- SQL variants optimized for the database.
-
-