Class JpaConstants


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

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values