Class DDLConfiguration
java.lang.Object
io.github.blyznytsiaorg.bibernate.config.DDLConfiguration
Configuration class responsible for processing DDL (Data Definition Language) properties
based on the provided BibernateDatabaseSettings. It supports creating DDL statements
when the corresponding property is set to true in the settings.
The class uses a DDLProcessor to handle the creation of DDL queries.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Constructor Summary
ConstructorDescriptionDDLConfiguration
(BibernateDatabaseSettings bibernateDatabaseSettings) Constructs a new DDLConfiguration instance with the given BibernateDatabaseSettings. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
processBb2DdlProperty
(BibernateDatabaseSettings bibernateDatabaseSettings) Processes the DDL property from the provided BibernateDatabaseSettings.
-
Constructor Details
-
DDLConfiguration
Constructs a new DDLConfiguration instance with the given BibernateDatabaseSettings. Processes DDL properties and creates DDL statements if the corresponding property is set to true.- Parameters:
bibernateDatabaseSettings
- the settings containing DDL-related properties
-
-
Method Details
-
processBb2DdlProperty
Processes the DDL property from the provided BibernateDatabaseSettings. If the property is set to true, creates DDL statements using a DDLProcessor.- Parameters:
bibernateDatabaseSettings
- the settings containing DDL-related properties
-