jeudi 26 mars 2015

DynamoDBMapper save only if object doesn't exist

Using the Java DynamoDBMapper, how can I save an object only if it doesn't already exist (based on primary key). If it does exist, I want an exception or failure to be thrown, rather than having the existing entry updated.





Aucun commentaire:

Enregistrer un commentaire