Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8316963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:28:47+00:00 2026-06-08T21:28:47+00:00

I am using App Engine (Java) with Objectify and RequestFactory. My entity stores some

  • 0

I am using App Engine (Java) with Objectify and RequestFactory.

My entity stores some fields and an embedded entity ArrayList. The embedded entity has its own couple of fields. So an example entity might look like:

name: Bob
email: bob@example.com
todo.description: ["Pick up food", "Wash car", "Exercise"]
todo.importance: [1, 5, 3]

I have a DataGrid that pulls the embedded entity list and displays it. If you click a button a new item is added to the embedded entity, the entity persisted and the Data Grid is refreshed.

The problem is that it is not highly consistent. Most of the time the DataGrid will successfully refresh with the up to date data, but sometimes it just shows the old data and you will have to refresh the page to show the new results.

I understand that the App Engine is only eventually consistent when it comes to entities that are not in the same entity group, but as far as I understand an embedded entity just ends up as more fields on the entity containing it, i.e. there is only one entity involved, and everything should be highly consistent.

Am I wrong about this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:28:49+00:00Added an answer on June 8, 2026 at 9:28 pm

    http://code.google.com/p/googleappengine/issues/detail?id=6326

    That is a thread from an issue I created. First, make sure you’re turning on STRONG consistency (I believe eventual is the default).

    Second – from that thread, here is an important note:

    The strong consistency flag means that for e get by key or an entity
    group query, you will HAVE strong consistency with those constraints,
    but a “global” (entity root-less) query will still and always be
    eventually consistent. When you set the flag to EVENTUAL consistency,
    all queries will exhibit eventually consistent behavior.

    So, if you’re doing cross-entity queries, it may be EVENTUAL consistent, regardless of if you’ve set STRONG to default or not. So try turning on STRONG consistency, and then doing single get by key queries for all of the entities required to render your view, instead of a single query which is cross-entity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently porting some work from MySQL to Google App Engine/Java. I'm using JDO,
I am using the Java version of the Google App Engine. I would like
I'm working on an app engine project (java). I'm using the jdo interface. I
I'm using app engine with java, developing in eclipse. Is there a way to
I would like to start using Google App Engine for java . But i
We are building an application on Google App Engine in Java using Spring 2.5.
i'm trying to make out with web-apps on java using google app engine. i
I'm using app engine with Spring and I get the following Exception: java.lang.SecurityException: java.lang.IllegalAccessException:
I am new to Google App Engine (Java) and PayPal process. I am using
I am using the Goole app engine datastore with Java and trying to load

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.