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 <[email protected]> wrote: > Hi, > > Now I am using GAE for my application datastore. Before it, I was > using MySQL for my application database. In MySQL, we can fetch > uncommitted data through same connection in same transaction. > > ======================================================== > For Example: > Connection con = getConnection(); // Auto commit false of connection > PrepareStatement statement = con.prepareStatement("Insert into > Test(Name, Age) values('John', 23)", Statement.RETURN_GENERATED_KEYS); > Object key = statement.executeUpdate(); > ResultSet resultSet = preparedStatement.getGeneratedKeys(); > key = resultSet.getObject(1); > statement = con.prepareStatement("Select * From Test Where Id=" + > key); > resultSet = statement.executeQuery(); > ======================================================= > > Through same connection, I am able to fetch uncommitted data like > above example. > > But how I can fetch uncommitted entities(Just put in DatastoreService > not committed) in GAE. > > Any help/suggestions are highly appreciated. > > Subhash -- 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.
