Dynamodb Gotchas

This is just a collection of things that required some google searches to resolve while working with DynamoDB at work recently. All the code examples here use Kotlin, though, I’m confident that they would still appear in Java. Persisting a DynamoDb Object that extends a class DynamoDB doesn’t automatically work with Abstract classes. For example, let’s say you have an abstract class which contains some common fields (such as the hashKey and the range fields),...

May 19, 2021 · 3 min · Me