Hi,
I have a case where I want to manually retry a transaction in the case of 
failure...very similar to the example given on the java transaction page 
showing usage of the low level api...I have not been able to get this to 
work using JPA...it will never throw an exception when another user has 
changed the same entity group. I switched my code over to use the low level 
api and this works (basically I do just what is shown on the transaction 
page). While it works, the low level api has it disadvantages...one big one 
being that it can't update multiple entity groups in a single 
transaction...but maybe there is a way to do that that I am not aware of.

Anyway, has anyone tried manual transaction retries with JPA? If so, any 
hints you can give me?

Thanks!
Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/jxJhmuwsFJoJ.
To post to this group, send email to google-appengine-java@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