Class DefaultConstraintMaxLength
- java.lang.Object
-
- io.ebeaninternal.dbmigration.ddlgeneration.platform.DefaultConstraintMaxLength
-
- All Implemented Interfaces:
io.ebean.config.DbConstraintNaming.MaxLength
public class DefaultConstraintMaxLength extends Object implements io.ebean.config.DbConstraintNaming.MaxLength
Default implementation used to truncate or shorten db constraint names as required.
-
-
Constructor Summary
Constructors Constructor Description DefaultConstraintMaxLength(int maxConstraintNameLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmaxLength(String constraintName, int count)Apply a maximum length to the constraint name.
-
-
-
Constructor Detail
-
DefaultConstraintMaxLength
public DefaultConstraintMaxLength(int maxConstraintNameLength)
-
-