Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* Reading Converter factory for Enums. This differs from the one provided in org.springframework.core.convert.support
* by getting the result from the jackson objectmapper (which will process @JsonValue annotations) This is registered in
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager)}.
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager, ObjectMapper)}.
*
* @author Michael Reiche
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* There can only be one propertyValueConverter for a property. Although there maybe be multiple annotations,
* getConverter(property) only returns one converter (a ChainedPropertyValueConverter might be useful). Note that
* valueConversions.afterPropertiesSet() (see
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager)}
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager, ObjectMapper)}
* encapsulates this in a CachingPropertyValueConverterFactory which caches by 'property'. Although
* CachingPropertyValueConverterFactory does have the functionality to cache by a type, it only caches by the type
* specified on an @ValueConverter annotation.To avoid having identical converter instances for each instance of a class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* Reading Converter factory for Enums. This differs from the one provided in org.springframework.core.convert.support
* by getting the result from the jackson objectmapper (which will process @JsonValue annotations) This is registered in
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager)}.
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager, ObjectMapper)}.
* This will take precedence over {@link org.springframework.core.convert.support.IntegerToEnumConverterFactory}
*
* @author Michael Reiche
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ public Object getPotentiallyConvertedSimpleWrite(final CouchbasePersistentProper
/**
* This does process PropertyValueConversions
*
* @param value
* @param property
* @param accessor
* @param processValueConverter
* @return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Reading Converter factory for Enums. This differs from the one provided in org.springframework.core.convert.support
* by getting the result from the jackson objectmapper (which will process @JsonValue annotations) This is registered in
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager)}.
* {@link org.springframework.data.couchbase.config.AbstractCouchbaseConfiguration#customConversions(CryptoManager, ObjectMapper)}.
* This will take precedence over {@link org.springframework.core.convert.support.StringToEnumConverterFactory}
*
* @author Michael Reiche
Expand Down