Class JdbcConfigurationProperties
java.lang.Object
org.springframework.modulith.events.jdbc.JdbcConfigurationProperties
@ConfigurationProperties(prefix="spring.modulith.events.jdbc")
class JdbcConfigurationProperties
extends Object
Configuration properties for JDBC.
- Author:
- Raed Ben Hamouda, Oliver Drotbohm
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Constructor Summary
ConstructorsConstructorDescriptionJdbcConfigurationProperties(JdbcConfigurationProperties.SchemaInitialization schemaInitialization, @Nullable String schema, @Nullable Boolean useLegacyStructure) Creates a newJdbcConfigurationPropertiesinstance. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringThe name of the schema where the event publication table resides.Whether to initialize the JDBC event publication schema.booleanWhether to use the legacy event publication database schema.(package private) voidverify(DatabaseType databaseType)
-
Constructor Details
-
JdbcConfigurationProperties
@ConstructorBinding JdbcConfigurationProperties(JdbcConfigurationProperties.SchemaInitialization schemaInitialization, @Nullable String schema, @Nullable Boolean useLegacyStructure) Creates a newJdbcConfigurationPropertiesinstance.- Parameters:
schemaInitialization- whether to initialize the JDBC event publication schema. Defaults to false.schema- the schema name of event publication table, can be null.
-
-
Method Details
-
getSchemaInitialization
Whether to initialize the JDBC event publication schema. -
getSchema
The name of the schema where the event publication table resides.- Returns:
- can be null.
-
isUseLegacyStructure
public boolean isUseLegacyStructure()Whether to use the legacy event publication database schema.- Since:
- 2.0
-
verify
-