Skip to main content

All Questions

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 ...
Kiran Subedi's user avatar
  • 2,284
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; @...
Karthick's user avatar
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__&...
Dimitar Genov's user avatar
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 ...
Micro's user avatar
  • 10.9k
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 ...
Micro's user avatar
  • 10.9k
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 ...
VSp30's user avatar
  • 1
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:...
Thalariventhan K R's user avatar
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 ...
Beginner's user avatar
1 vote
2 answers
394 views

Objectify v5 and v6 at the same time in a google app engine java 8 standard project

We want to do a zero downtime migration of a google app engine java 8 standard project to another region. Unfortunately google does not support this, so it has to be done manually. One could export ...
AndyB's user avatar
  • 588
0 votes
1 answer
80 views

Creating a reference can throw a ConcurrentModificationException inside of a transaction with objectify

I am making an ancestor query inside of a transaction like this: Task task = OfyService.ofy().load().type(Task.class) .ancestor(jobKey) .filter("...
MaxSped's user avatar
  • 89
0 votes
1 answer
177 views

Is there any other Alternative for 'IN' and 'OR' operators in Objectify(The Cloud Datastore SDK does not currently support 'IN' filters). -java

Entity 1 @Cache @Entity public class EmployeeDO { @Id @Index private Long employeeId; @Index @Load private Ref<CompanyDO> companyId; } Entity 2 @Cache @Entity public class ...
Krishna's user avatar
0 votes
1 answer
441 views

Google App Engine exception when using objectify 6.0 - com.googlecode.objectify.LoadException

I am using objectify 6.0 to retrieve data from GAE datastore. The datastore table has 7 fields other than id, as below. package org.skoonline.atl.dataservice.entities; import com.google.appengine.api....
Faruk Ahmed's user avatar
0 votes
1 answer
291 views

How do you configure a servlet filter in Google App Engine's app.yaml file?

I am writing a Kotlin app to be deployed on Google App Engine. I am using a Gradle plugin to do the actual deploy to GAE. Everything had been working fine; I successfully deployed a hello-world ...
Mathew Alden's user avatar
  • 1,700
0 votes
1 answer
84 views

How do I set up a transaction within a void function in Java GAE using Objectify?

I am trying to set up a transaction in a void function in Java using Objectify. This is the wiki documentation. import static com.googlecode.objectify.ObjectifyService.ofy; Thing th = ofy().transact((...
African Coder's user avatar
0 votes
1 answer
161 views

Embedded entity "with Text" reading from originaly stored as Blob

in addition to the first question with working answer I was not able to deserialize the following private @Serialize List<ProduktSprache> produktsprachen; the new class looks like this stored ...
Malte's user avatar
  • 152

15 30 50 per page
1
2 3 4 5
30