Open dearnani opened 5 years ago
Please check your DynamoDBMapperConfig
? Is something different than DynamoDBMapperConfig.DEFAULT
used?
The default uses SaveBehavior.UPDATE
which is exactly the behavior that is expected.
If possible please post your @Configuration
beans related to DynamoDB.
Expected Behavior
CRUDRepository should update though we save with same primary key Document element content is overwriting
Actual Behavior
Document element content should update
Steps to Reproduce the Problem
Specifications
All those information are logged by
org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactory
onINFO
level on startup. Or usejava -version
andmvn dependency:tree | grep -E 'spring|aws'
to provide those version numbers.