Class InitializingStringSetType

java.lang.Object
com.broadleafcommerce.common.jpa.usertype.AbstractSetType<String>
com.broadleafcommerce.common.jpa.usertype.InitializingStringSetType
All Implemented Interfaces:
org.hibernate.usertype.EnhancedUserType<Set<String>>, org.hibernate.usertype.UserType<Set<String>>

public class InitializingStringSetType extends AbstractSetType<String>
A special UserType for a Set collection of Strings. Will initialize the database with an empty collection if null.
  • Constructor Details

    • InitializingStringSetType

      public InitializingStringSetType()
    • InitializingStringSetType

      public InitializingStringSetType(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper)