Interface DbConstraintNaming.MaxLength

Enclosing class:
DbConstraintNaming

public static interface DbConstraintNaming.MaxLength
Defines how constraint names are shortened if required based on platform limitations.
  • Method Summary

    Modifier and Type Method Description
    String maxLength​(String constraintName, int count)
    Truncate or shorten the constraint name to support DB platform limitations.
  • Method Details

    • maxLength

      String maxLength​(String constraintName, int count)
      Truncate or shorten the constraint name to support DB platform limitations.

      There is a default implementation of this which is used if an implementation is not specified.