Google App Engine - When I want to store a byte array as one of the fields of my entity class, do I have to specify it as of type Blob or ShortBlob instead of byte[]?
...
I'm working on a flash game written in pure actionscript 3.0 in Flex.
I've just finished implementing replays for the game, but want to store the top 10 hiscores' replay data on my google-app-engine'd website.
I'm using Java for the app-engine stuff in Eclipse in java but I have no idea how to deal with communicating to my java code ...
I am very new to jsp and google appengine , but still I can do something if I get some basic idea , I wanna create an user registration form with fields like name, user id , password, confirm password, etc,. using google appengine datastore feature. and I wanna retrieve user information . Please help me ..
Thanks in advance.
Thanks f...
I'm running this query:
SELECT FROM com.Data WHERE entryDate > DATE('2010-3-16')
I get this error:
org.datanucleus.store.appengine.query.DatastoreQuery$UnsupportedDatastoreFeatureException: Problem with query DATE('2010-3-16')>: Unsupported method while parsing expression: InvokeExpression{[null].DATE(Literal{2010-3-16})}
The same ...
I'm new to both Django and Google App Engine, and am using a sandbox in OSX10.6 with the GoogleAppEngineLauncher. I've got a basic "bookstore" application running from the tutorial in the OReilly "Programming Google App Engine" book.
Here's the bug: If I add a new object to the datastore through the web interface, then it's readable thr...
I need to store some data that looks a little like this:
xyz 123
abc 456
hij 678
rer 838
Now I would just store it as a traditional string and integer model, and put in the datastore. But the data changes regularly, and is ONLY relevant when looked at as a COLLECTION. So it needs to be store as either a list of lists, or a list of ob...
Coming from a relational database background, as I'm sure many others are, I'm looking for some solid guidelines for setting up / designing my datastore on Google App Engine. Are there any good rules of thumb people have for setting up these kinds of schema-less data stores? I understand some of the basics such as denormalizing since y...
I have a simple data model that includes
USERS: store basic information (key, name, phone # etc)
RELATIONS: describe, e.g. a friendship between two users (supplying a relationship_type + two user keys)
COMMENTS: posted by users (key, comment text, user_id)
I'm getting very poor performance, for instance, if I try to print the firs...
I'm hitting what appears (to me) strange behavior when I pull data from the google datastore over JDO. In particular, the query executes quickly (say 100 ms), but finding the size of the resulting List<> takes about one second! Indeed, whatever operation I try to perform on the resulting list takes about a second. Has anybody seen this...
I am new to Python & AppEngine.
I am trying to use Feedparser to cache a feed to a datastore.
My code is at http://pastebin.com/uWPdWUm2
For some reason it doesn't work - it does not add the data to the datastore.
Any ideas? I am stumped.
...
hi , i am designing a simple project based to do list. the idea is to define tasks under project ( no workflow - just "task is completed" or not is required. ) in a hirarchial way. i.e. each task has multiple task and that task may have other multiple task. a project can be said to be completed if all task under that project are complete...
I want to make client version of GAE app that store exact data of online version.(myapp.appspot.com) If i can use sdk instead, is any library or tools to sync online and sdk version? I try using bulkloader but i can't load downloaded data to local SDK? Please help.
...
I think I'm overlooking something simple here, I can't imagine this is impossible to do.
I want to filter by a datetime attribute and then order the result by a ranking integer attribute. When I try to do this:
query.filter("submitted >=" thisweek).order("ranking")
I get the following:
BadArgumentError: First ordering property mus...
I am using Polymorphic Models.
Simple Question: My code below works without using this line below, which I see in other people's code. What is it supposed to do?
#super(GeneralModel, self).__init__(*args, **kwargs)
Messy Question: I have a feeling my code below, although it seems to work, is not the most beautiful solution.
Synopsi...
I have the following 2 models in my Google App Engine datastore:
class Search(db.Model):
what = db.StringProperty()
class SearchResult(db.Model):
search = db.ReferenceProperty(Search)
title = db.StringProperty()
content = db.StringProperty()
And, I am trying to retrieve all SearchResult entities for a given Search en...
I have 6000 data of district, subdistrict. I need to represent this on dependent dropdown. The datamodel is for example;
class Location(db.Model):
location_name = db.StringProperty()
//location_parent = db.IntegerProperty()
location_parent = db.ReferenceProperty() //
location_parent is reference to key() or id()? Still can...
In a Python Google App Engine app I'm writing, I have an entity stored in the datastore that I need to retrieve, make an exact copy of it (with the exception of the key), and then put this entity back in.
How should I do this? In particular, are there any caveats or tricks I need to be aware of when doing this so that I get a copy of t...
I'm using Google Web Toolkit with java and google datastore as database.
The entity class has arraylist and on trying to retrieve the data from data base I'm getting the exception:
Type 'org.datanucleus.sco.backed.ArrayList' was not included in the set of types
which can be serialized by this SerializationPolicy or its Class object...
And if not, why not?
The following index always fails to build on the production server, even though I had thought I could have a sort order with a list property as long as the index didn't sort or match against any other properties.
- kind: Foo
properties:
- name: location_geocells
- name: time
direction: desc
If such a co...
I know how to table in google BigTable.I have one doubt regarding this.what are all the datatype supported by google BigTable.
Thanks in advance
...