Class DDLConfiguration

java.lang.Object
io.github.blyznytsiaorg.bibernate.config.DDLConfiguration

public class DDLConfiguration extends Object
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 Details

    • DDLConfiguration

      public DDLConfiguration(BibernateDatabaseSettings bibernateDatabaseSettings)
      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

      private void processBb2DdlProperty(BibernateDatabaseSettings bibernateDatabaseSettings)
      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