Class JpaConstants

java.lang.Object
com.broadleafcommerce.common.jpa.JpaConstants

public final class JpaConstants extends Object
Useful constants for JPA entity definitions.
Author:
Samarth Dhruva (samarthd)
  • Field Details

    • LONG_TEXT_LENGTH

      public static final int LONG_TEXT_LENGTH
      The long text length, generally should be used to define lengths of the largest String fields.
      See Also:
    • MEDIUM_TEXT_LENGTH

      public static final int MEDIUM_TEXT_LENGTH
      The medium text length, generally should be used to define lengths of larger than normal String fields.
      See Also:
    • TEXT_LENGTH

      public static final int TEXT_LENGTH
      The "text" length, generally should be used to define lengths of slightly-larger than normal String fields.
      See Also:
    • SHORT_TEXT_LENGTH

      public static final int SHORT_TEXT_LENGTH
      The short text length, generally should be used to define lengths of small snippet String fields.
      See Also:
    • CONTEXT_ID_LENGTH

      public static final int CONTEXT_ID_LENGTH
      See Also:
    • ENUM_TYPE_LENGTH

      public static final int ENUM_TYPE_LENGTH
      See Also: