objectify Questions

6

Solved

I've got some Objectify test code running in JUnit and I'm getting this error: java.lang.IllegalStateException: You have not started an Objectify context. You are probably missing the ObjectifyFil...
Transcalent asked 31/12, 2014 at 22:40

2

Solved

I upgraded my PC to Ubuntu 12.04 and restored the backup of my workspace and Eclipse afterwards. Now when I try to start my AppEngine/GWT application I run into a problem with the java security man...
Handbill asked 5/4, 2012 at 19:36

2

Solved

App Engine is (all of a sudden) telling me that I have Objectify set up incorrectly. It was working before and I do have the Objectify Filter in my web.xml. Here's the full stacktrace from my logs...

2

Solved

I have this method in my RPC service: @Override public Entrata[] getEntrate(int from, int to) { List<Entrata> data = entrateDao.list(); return data.toArray(new Entrata[0]); } As you can se...
Stockjobber asked 11/8, 2011 at 13:59

2

Solved

in an app i have an entity that contains a list of other entities (let's say an event holding a list of assigned employees) using objectify - i need to find all the events a particular employee is...
Systematize asked 26/3, 2012 at 6:11

4

Solved

When storing String fields with App Engine: What is the maximum length() of the String that App Engine datastore can handle? Also if using Objectify, is this max length the same or Objectify does...
Chen asked 7/10, 2012 at 3:29

5

with the latest version of Objectify (5.1), am getting following error when i try to access the ofy() method You have not started an Objectify context. You are probably missing the ObjectifyFilte...
Bergson asked 26/10, 2014 at 19:32

1

Solved

I've noticed periodic, but consistent latency spikes from my app running on app engine. At first I thought the network may be slow but app stats confirmed that not to be the case. I've been able ...
Ninefold asked 21/10, 2016 at 14:33

4

Solved

I am using appengine cloud endpoints and objectify. I have previously deployed these endpoints before and now I am updating them and it is not working with Objectify. I have moved to a new machine ...
Interradial asked 31/10, 2013 at 13:7

0

I would like to create an Api method via Google App Engine (Objectify) that returns a CollectionResponse of the posts of the people that I am following, sorted by date descending. I have an Entit...
Brammer asked 12/1, 2016 at 15:44

3

Solved

So this might be kind of a dumb question but when do you register classes with: ObjectifyService.register( User.class ); Currently, I'm doing this in the constructor of an interface-like class t...
Fixation asked 4/11, 2011 at 23:32

4

Solved

I have an entity called lastName with value "Benjamin". Is there a way in objectify that if the user put "Ben" or "jam" or "Benja". I still be able to find this entity using query.filter(). I must ...
Almsgiver asked 10/8, 2011 at 16:52

3

Solved

Why would I ever want to load an Objectify entity asynchronously? And what does asynchronous loading actually mean? According to Objectify documentation about loading, the following way of loading...
Sauerbraten asked 19/2, 2015 at 20:53

2

Solved

I got the following error while testing a simple piece of code in JUnit that creates a User object (an Objectify Entity) and then tries to attach it as a Parent to another Objectify Entity called D...
Horme asked 31/12, 2014 at 22:32

3

Solved

I have an entity, with a field containing a list to Refs to other entities (always 4). I'm trying to get some entities, and dispatch them for a jsp for display. I want all the Refs in the field to ...
Kailakaile asked 11/11, 2012 at 19:35

1

Solved

I'm using Google App Engine to create a project consisting of multiple Google Modules. How do I set up my project (using Maven) so that I can share source code such as Objectify object model defini...
Monorail asked 9/12, 2014 at 20:22

1

Solved

I have about a hundred objects stored in the Cloud Datastore with Kind = Animal. I would like to get all Animals from the database via the low level API or with Objectify.
Randolphrandom asked 13/1, 2015 at 1:25

2

Solved

I have the following heriacy. GrandParent --> Parent --> Child Parent and Child use @Parent Ref<GrandParent> and @Parent Ref<Parent> to create there parent relationship. I am trying...
Pungent asked 19/10, 2014 at 20:32

2

Solved

With Google App Engine using Objectify to query the datastore, I would like to use a query like objectifyService.query(Entity.class).filter("name contains", a); which would return a list with al...
Bea asked 22/12, 2014 at 0:39

4

Solved

I'm using GAE/Java with Objectify, and I'm trying to find the fastest way to check if a given object exists in the datastore, given the key. What I'm doing right now is .get(key) with @Cached on, b...
Hanus asked 4/8, 2010 at 19:8

2

I am trying to use a cursor with Objectify and Google App Engine to return a subset of data and a cursor so that I can retrieve more data when the user is ready. I found an example here that looks ...
Heliotrope asked 15/8, 2014 at 2:3

3

Solved

Does anyone have any idea how to retrieve the last(with the newest date) entity in objectify? I know how to make a query but how to retrieve the one with the newest date? List<Transaction> ...
Socialistic asked 16/5, 2012 at 13:42

1

Solved

I have an account object which references a user object. @Cache @Entity public final class Account { @Id Long id; @Index private Ref<User> user; public Long getId() { return id; } pu...

2

Solved

I need to do a query inside a Transaction, however I don't know the Entity @Id, what I have is a value of a field, like a username but not the ID, So in other words, I can't create a Key to do th...
Machiavelli asked 6/7, 2012 at 11:5

2

Solved

Is it possible for one GAE application to access the datastore of another GAE application (both applications are hosted under the same Google account) using Objectify? If so, how can I pass service...

© 2022 - 2024 — McMap. All rights reserved.