You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MappingAerospikeWriteConverter converts version field into Integer, what if field defined as Long version ? The mapper will convert long to integer hence cuasing ConversionFailedException
Example:
org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.Long] to type [java.lang.Integer] for value [....]
Hi there,
MappingAerospikeWriteConverter converts version field into Integer, what if field defined as
Long version
? The mapper will convert long to integer hence cuasing ConversionFailedExceptionExample:
org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.Long] to type [java.lang.Integer] for value [....]
Source code:
https://github.com/aerospike/spring-data-aerospike/blob/8ef5cc070fac4c8060021f6cb38d023bbf5bd7a4/src/main/java/org/springframework/data/aerospike/convert/MappingAerospikeWriteConverter.java#L97C35-L97C35
The text was updated successfully, but these errors were encountered: