Class DDLUtils

java.lang.Object
io.github.blyznytsiaorg.bibernate.utils.DDLUtils

public class DDLUtils extends Object
Utility class for generating foreign key constraint names and index names. Provides methods to generate unique names for constraints and indexes.
Since:
1.0
Author:
Blyzhnytsia Team
See Also:
  • Field Details

  • Constructor Details

    • DDLUtils

      public DDLUtils()
  • Method Details

    • getForeignKeyConstraintName

      public static String getForeignKeyConstraintName()
      Generates a unique foreign key constraint name.
      Returns:
      a unique foreign key constraint name
    • getIndexName

      public static String getIndexName()
      Generates a unique index name.
      Returns:
      a unique index name