Interface SelfCleaning


  • public interface SelfCleaning
    Automatically trims all strings down to null on persist or merge.
    Author:
    Matija Obreza
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.springframework.util.ReflectionUtils.FieldFilter STRING_FIELDS
      FieldFilter that matches all non-static, non-final, strings fields.
    • Field Detail

      • STRING_FIELDS

        static final org.springframework.util.ReflectionUtils.FieldFilter STRING_FIELDS
        FieldFilter that matches all non-static, non-final, strings fields.
    • Method Detail

      • trimStringsToNull

        default void trimStringsToNull()
        Trim strings to null.