All Questions
Tagged with google-app-engine objectify
921 questions
0
votes
0
answers
41
views
Random DatastoreFailureException for datastore and objectify on appengine
In the last 2-3 months, the frequency of DatastoreFailureException has increased. The issue appears random and is not isolated to any specific entity or API. We are using retries with exponential ...
0
votes
0
answers
28
views
Objectify load entity by id fails inconsistently
I am trying to load an entity from datastore by :
objectifyFactory.ofy().load().type(clazz).id(id).now();
However, this returns a null, even though the entity is present in the datastore. In another ...
0
votes
1
answer
123
views
Appengine Memcache issue while using objectify 6.1.1 in Java 17
I'm currently in the process of updating an AppEngine Java 8 application to Java 17. For data storage, I'm using Objectify 6.1.1. While everything runs smoothly on my local machine, I've encountered ...
1
vote
1
answer
289
views
Unrecognized element <app-engine-apis> means can't access legacy bundle services on Java 11+ GAE server
I finally migrated a long-running Google App Engine Java 8 project to Java 11+ standard environment before we lose Java 8 support in Jan 2024.
But I need to use the legacy bundled services including ...
0
votes
1
answer
75
views
How do I get a entity from the datastore by filtering a string property?
I have few entities in the datastore.
This is the structure of the enitity.
public class YTLink {
@Id
String videoId;
@Index
String videoTitle;
@Index
String videoLink;
@...
1
vote
1
answer
88
views
Querying Stat tables using Objectify
I am trying to perform a low-level Datastore query on one of the Stat tables (Stat_Ns_Kind) using Objectify.
The operation I'm trying to run looks like this:
ofy()
.load()
.kind("__Stat_Ns_Kind__&...
0
votes
1
answer
58
views
How to use Objectify v6 in Vert.x on Google app engine standard
How do I get Objectify v6 to work in Vert.x?
In app engine docs, Vert.x is listed as one of the platforms that can run on app engine standard.
My goal is to port a servlet based Java 8 website to vert....
0
votes
1
answer
122
views
com.google.cloud.datastore.DatastoreException: Failed retrying datastore 200 times
I was doing a stress test of running an endpoint multiple times in a short period of time. The endpoint updates the same entity in a transaction. Eventually, I got this error:
com.google.cloud....
0
votes
1
answer
90
views
Objectify - make error in transaction propagate to end user - don't retry, throw error
How can I make it so that if there is an error in a transaction (such as a ConcurrentModificationException error), the error is propagated to the end user? So instead of retrying, it will just throw ...
-2
votes
1
answer
35
views
How to fetch single record from Data store using Objectifyby Key.?
I need to fetch the single object from the data store which I have inserted using Objectify.?
0
votes
1
answer
178
views
If my datastore transaction fails, will code after the transaction run?
What happens if my datastore transaction fails and I have some more code that is supposed to run after it finishes? Does the application throw and error and end there? Will my second block of code run ...
0
votes
2
answers
206
views
Objectify - can we set a startAt(cursor) for QueryKeys? Or how to iterate over many Keys query?
I'm trying to iterate over 1000 keys of an entity at a time using this code but unlike Query, QueryKeys does not have a startAt() method for me to set it's cursor:
QueryKeys<Car> queryKeys = ofy(...
0
votes
1
answer
46
views
Datastore contention on new deployment with the same code
We're having some issue with our application that uses Datastore (not Firestore in Datastore mode) after redeploying the code. On the new AppEngine service deployment with the same code we get ...
2
votes
0
answers
148
views
Objectify 5 to connect the local datastore emulator in java project
I have to connect java appengine project with local datastore emulator in gcp.
ObjectifyService.init(new ObjectifyFactory(
DatastoreOptions.newBuilder()
.setHost("http://localhost:...
1
vote
0
answers
59
views
How to use Objectify of google app engine in servlet locally?
I am a beginner in using google app engine.
How can I use Objectify in this program for storing, locally? And also I want to edit and delete the data in the List.
I can't able to learn about "use ...