On 2 Sep 2010, at 18:48, Arnold wrote:
Subhash, You may want to use JDO if that is possible. It appears that you can read uncommitted data within the same transaction, I presume because the Entity does not get fetched from the Datastore every time you use PersisistenceManager.getObjectById(). The same may be applicable to JPA.
Twig also works like this but only for load()s by id. If you run a find() command then it must go to the datastore which will return results based on the transaction snapshot. However, if the find() results return an item you have already loaded and modified then Twig does not overwrite your modified instance - i.e. you are reading uncommitted data. Because of the use of this "session cache" you get some extra degree of transaction isolation.
-- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
