Closed sunmingtao closed 3 years ago
If a getter method is not annotated with anything, Dynamodb still tries to map it. They need to specifically ignored by @DynamoDBIgnore
@DynamoDBIgnore
public Team getHomeTeam() {
return homeTeam;
}
@DynamoDBIgnore
public Team getAwayTeam() {
return awayTeam;
}
That also means the @DynamoDBAttribute
is redundant. But it's good to have them explicitly.
Save an entity and get error
Entity class: