morphia icon indicating copy to clipboard operation
morphia copied to clipboard

Support for incrementing version for the update and findAndModify API's

Open nitinkcv opened this issue 10 years ago • 0 comments

If i have a field in my Entity class annotated with @Version, the save api increments the version each time it's called. However the version doesn't get incremented in the update and findAndModify api's.

Does it make sense to increment the version for the update and findAndModify api's?

nitinkcv avatar Jun 05 '16 03:06 nitinkcv