Skip to content

Commit 8ffc338

Browse files
committed
Add clarification about mutable fields
1 parent 3bd034a commit 8ffc338

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services-custom/dynamodb-enhanced/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ completely made up and not part of this library. Any search or key
88
values used are also completely arbitrary.
99

1010
### Initialization
11+
**IMPORTANT**: Fields in your DynamoDbBean java class **MUST NOT** be marked as `final`.
12+
The DynamoDB Enhanced Client requires fields to be mutable for the mapping to work correctly.
13+
1114
1. Create or use a java class for mapping records to and from the
1215
database table. At a minimum you must annotate the class so that
1316
it can be used as a DynamoDb bean, and also the property that

0 commit comments

Comments
 (0)