spring-data-dynamodb icon indicating copy to clipboard operation
spring-data-dynamodb copied to clipboard

Entity - Data mapping using reflection

Open asomeJay opened this issue 3 years ago • 0 comments

Expected Behavior

At first time, I think 'spring-data-dynamodb use reflection to entity'. so that, kotlin property can be assigned when access modifier is 'val' (no setter access modifier) because JPA does like that.

Actual Behavior

'val' property can't be assigned value.

Steps to Reproduce the Problem

  1. Make class, the access modifier of class property is "val"
  2. execute query, e.g) findAll()

Specifications

  • Spring Data DynamoDB Version: 5.2.5
  • Spring Data Version:
  • AWS SDK Version:
  • Java Version: 11
  • Platform Details:

All those information are logged by org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactory on INFO level on startup. Or use java -version and mvn dependency:tree | grep -E 'spring|aws' to provide those version numbers.

Always thanks for your kindness.

asomeJay avatar Feb 20 '22 00:02 asomeJay