Is fetching an object by String key be faster than a Key key? (GAE/J)
Thats pretty much the question. Are there any other concerns i should be aware of? ...
Thats pretty much the question. Are there any other concerns i should be aware of? ...
Hi there, I need to model the following situation and I can't seem to find a consistent example on how to do it "correctly" for the google app engine. Suppose I've got a simple situation like the following: Company 1 -----> M Store A company has one to many stores. Each store has an address made up of a address line 1, city, state, ...
I need to upload a large number of content files to an App Engine app every day - perhaps 1,000 or more - that will be served from the app. Cumulatively over time I expect these uploads to add up to over 1,000,000 separate content files stored in the production app. Is the appcfg tool the best or only way to carry out these daily batch ...
Given that django-nonrel has got JOINs working, does this mean we have M2M fields workable with Django now in GAE? What other current restrictions does Django have in GAE? ...
The question pretty much says it all. If I have a class Class A public class A { ... private List<String> keys; ... } And I want to select all A instances from the DataStore that have atleast one of a List of keys, is there a better way of doing it than this: query = pm.newQuery(A.class); query.setFilter("keys.contains(:...
What's the best way to work out the time when my servlet in google app engine is hit ? if I call System.currentTimeMillis() and store that info will it be reliable ? I don't need milliseconds precision. I just want to store an entity with the date on when it arrives. Thanks ...
Using the local dev server, I can use ';' in urls, but as soon as I try the live version hosted by Google, it looks like the ';' and everything afterward is stripped (at least according to request.path_qs). (I would prefer not to encode them if possible, it's much less user friendly if the url cannot be constructed by copy-pasting, espe...
Hi, UserA and UserB are changing objectA.filedA objectA.filedB respectively and at the same time. Because they are not changing the same field one might think that there are no overlaps. Is that true? or the implementation of pm.makePersistnace() actually override the whole object... good to know... ...
Hi all, I'm having a problem with autowiring my EntityManager. Actually at server startup I can see that the injection works ok, though when trying to use my EntityManager it appears to be null again. @Component public class DataDaoImpl { protected EntityManager entityManager; @Autowired public void setEntityManager(EntityManager ent...
bulkloader.py is very handy. But as far as I can tell it doesn't appear to fetch items from the blobstore, so you can be left with broken entity relationships if you needed to dump/restore your application. Does anyone know a method for completely backing up their data from app-engine including blobstore data? ...
I have a simple GAE app that includes a login/logout link. This app is running on the dev server at the moment. The base page handler gets the current user, and creates a login/logout url appropriately. It then puts this information into a _template_data dictionary, for convenience of subclasses. class BasePage(webapp.RequestHandler): ...
I'm trying to write some tests (RSpec) against the AppEngine and its datastore. I've tried to load the environment and tests via: appcfg.rb run -S spec app/tests/ And I end up with the following error: spec:19: undefined method `bin_path' for Gem:Module (NoMethodError) I can run non-appengine specs just fine by running: spec ...
I'm new to Python. I can't understand why a variable is None at a certain point in my code: class UsersInRoom(webapp.RequestHandler): def get(self): room_id = self.request.get("room_id") username = self.request.get("username") UserInRoom_entities = UserInRoom.gql("WHERE room = :1", room_id).get() if U...
When using Google app engine is there any benefit to use a CDN if i wanted my file resources as closer to users? ...
I updated my User class, and now whenever someone that had the old version of the User class stored in their session scope accesses my site, I get an InvalidClassException. javax.servlet.ServletException: java.lang.RuntimeException: java.io.InvalidClassException: User; local class incompatible: stream classdesc serialVersionUID = 4949...
I am working in python on appengine. I am trying to create what is equivalent to the "v" value in the youtube url's (http://www.youtube.com/watch?v=XhMN0wlITLk) for retrieving specific entities. The datastore auto generates a key but it is way too long (34 digits). I have experimented with hashlib to build my own, but again I get a lon...
I am trying to build something "portlet server"-ish on the google app engine. (as open source) I'd like to use the JSR168/286 standards, but I think that the restrictions of the app engine will make it somewhere between tricky and impossible. Has anyone tried to run jetspeed or an application that uses pluto internally on the googl...
I have to write client program in C# that have to take some data from DB and sent it to my Google application(Java). How can I do that? What is the best way to do that? It'll be great if there be some code example in answers. ...
PDFjet says it supports App Engine, which by extension means it will run on Wave. e question is how can I get to to work on the Google WavE? The goal is to get a PDF-button in the wave which is able to output the whole wave into PDF Any assistance would be greatly appreciated. ...
The tittle says most: I'm storing JSON in the DataStore. All json is getting converted to html entities, how can I avoid this? Original I had myJson = db.StringProperty() it complained the json i had was to long and StringProperty had a limit of around 500 chars. Sugesting to use TextProperty instead. It inserted without problems bu...