You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple scenario.
`@DynamoDBTable(tableName = "someTable")
Class Entity {
@DynamoDBVersioned
private Long version;
@DynamoDBHashKey
private String id;
private String variableValue;
}
in a test if you do
Entity e1 = dynamoDbMapper.load(Entity.class, "ID1");
Entity e2 = dynamoDbMapper.load(Entity.class, "ID1");
e1.setVariableValue("value1")
e2.setVariableValue("value2")
dynamoDbMapper.save(e1);
dynamoDbMapper.save(e2);`
when you do this against DynamoDbLocal you get ConditionalCheckFailedException but against Dynalite it just works fine without exception.
Does Dynalite support optimistic locking?
I have an integration test to prove that optimistic locking works . It work fine when running it with DynamoDb local but fails when using Dynalite.
The text was updated successfully, but these errors were encountered: