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>>
A special
UserType
for a Set
collection of Strings. Will initialize the database
with an empty collection if null.-
Constructor Summary
ConstructorDescriptionInitializingStringSetType
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Methods inherited from class com.broadleafcommerce.common.jpa.usertype.AbstractSetType
assemble, deepCopy, disassemble, equals, fromStringValue, getJson, getSqlType, hashCode, isMutable, nullSafeGet, nullSafeSet, returnedClass, toSqlLiteral, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter, replace
-
Constructor Details
-
InitializingStringSetType
public InitializingStringSetType() -
InitializingStringSetType
public InitializingStringSetType(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-