Hello,

I saw the post by Max Ross and when I try to do the same (@Version
annotated long version field), it simply does not detect version
conflict. I am totally confused. My pseudo code is as follows.

begin-transaction
fetch-the-entity-from-data-store
modify-entity-fields
decrement-version-for-testing-so-it-fails
merge-entity
commit-transaction

I even tried another way, holding the stale entity while another
update is done. Now the stale entity has a version one behind. But
still no exception. The code silently updates and version gets
incremented (one above the latest).

GAE SDK 1.3.7.

Help appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to