Class EnumToDbValueMap<T>

    • Constructor Detail

      • EnumToDbValueMap

        public EnumToDbValueMap()
        Construct with allowNulls defaulting to false.
      • EnumToDbValueMap

        public EnumToDbValueMap​(boolean allowNulls,
                                boolean isIntegerType)
        Construct with allowNulls setting.

        If allowNulls is false then an IllegalArgumentException is thrown by either the getDBValue or getBeanValue methods if not matching Bean or DB value is found.