Re: [appengine-java] Re: How we can read uncommitted data in same transaction.

2010-09-02 Thread John Patterson
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().

[appengine-java] Re: How we can read uncommitted data in same transaction.

2010-09-02 Thread Arnold
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. On Aug

[appengine-java] Re: How we can read uncommitted data in same transaction.

2010-08-31 Thread Vikas Hazrati
That sounds right, the data only becomes available to you once you have committed the tx. From the docs "This consistent snapshot view also extends to reads after writes inside transactions. Unlike with most databases, queries and gets inside a datastore transaction do not see the results of previ

[appengine-java] Re: How we can read uncommitted data in same transaction.

2010-08-30 Thread Didier Durand
Hi Subhash, To my knowledge you can't do it: see http://code.google.com/appengine/articles/transaction_isolation.html for all details. didier On Aug 30, 9:15 am, Subhash wrote: > Hi, > > Now I am using GAE for my application datastore. Before it, I was > using MySQL for my application database.