Class DDLUtils
java.lang.Object
io.github.blyznytsiaorg.bibernate.utils.DDLUtils
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
-
setOfChars
private static final char[] setOfChars -
FK_PATTERN
- See Also:
-
INDEX_PATTERN
- See Also:
-
-
Constructor Details
-
DDLUtils
public DDLUtils()
-
-
Method Details
-
getForeignKeyConstraintName
Generates a unique foreign key constraint name.- Returns:
- a unique foreign key constraint name
-
getIndexName
Generates a unique index name.- Returns:
- a unique index name
-