I'm finding the JDO cursor usage documentation a bit confusing.
According to the docs at
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors
To get the initial page of results:
query.setRange(0, 20); // which makes sense
Then to get the second page of resul
gt;
> Robert
>
>
>
> On Fri, Sep 17, 2010 at 16:57, Rick Horowitz wrote:
> > I'm finding the JDO cursor usage documentation a bit confusing.
> > According to the docs
> > athttp://code.google.com/appengine/docs/java/datastore/queriesandindexe...
>
> &g
HTML document, which would be functionally equivalent. If you
> used ranges and offsets, you'd have to store page state anyway client side.
>
>
>
> On Sun, Sep 19, 2010 at 8:38 AM, Rick Horowitz wrote:
> > I'm using a GWT UI. Is the recommended best practice to cache already
m looking for guidance on which would be most secure out of these
options, or if anyone has a better suggestion.
Thanks for any help on this,
Rick Horowitz
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this gro
> I would
> not recommend just the memcache as it will/could eventually get
> flushed.
Very true, you're right. I hadn't thought about it being flushed.
> Most people would probably just hard code it on the App
> Engine server code. It might be a little more secure or closer to
> Authorize.net'
I'm trying to test sending email using Java from GAE SDK 1.3 while in
development mode using the Eclipse Plugin. I'm using Eclipse Build id:
20090920-1017 and Java OpenJDK 1.6. Is this possible, or can I only
send email when my app is actually deployed? I read the docs and I am
aware that it says i
I'm trying to persist a simple class relationship using JDO. My code
is listed below and here's a brief overview of what I'm trying to do:
I have 3 classes:
Person, Customer (extends Person), and Address (referenced from
Person). If I create a Person instance and an Address instance and
call setA
base
class) references an owned object, but gae doesn't seem to like it. I
tried the base class as abstract and concrete, and tried the keys as
type Key and as encoded String. No luck.
Thanks very much for any help.
Rick
On Nov 15, 11:40 pm, Rick Horowitz wrote:
> I'm trying to per
mbedded class, though I suppose that wouldn't work if
> multiple customers had the same address and addresses changed frequently
> (though you could solve this by updating all matching embedded addresses if
> an address changes in a transaction, making the Address the parent of the
>
which I guess doesn't work just yet. I'll report
back. Thanks.
On Nov 19, 8:22 pm, Rick Horowitz wrote:
> Thank you for responding. This is not good, but I guess it could be worse.
> Google could be ignoring these problems instead of fixing them. One more
> question. What
r example, a 3
level inheritance hierarchy, so I can't vouch for that. If I have to
use this type of inheritance in my app, I will post another message to
let people know how it turned out.
In the mean time, I'm hoping that we'll see an update to fix this
owned relationship by a sup
, 2009 at 10:33 AM, Rick Horowitz wrote:
> Well it partly worked, but enough to get by for development purposes
> for awhile, so that's pretty good. I removed datanucleus-
> appengine-1.0.3.jar from the Eclipse plugin and replaced it with
> appengine-1.0.4.RC1.jar. First, I tr
I have an object model with a Person class that references several role
classes, e.g. Customer, Partner, Administrator.
Since GAE does not support polymorphism, I am trying to implement the
relationship as an ArrayList of role keys in Person with a Person key in
each of the role classes. It loo
I'm using JDO with app engine. I have an class, Person, that contains two
collections:
private ArrayList parentKeys;
private ArrayList roleTypes; // RoleType is an enum, defined as a
public enum in its own file
I am using transactions. When I add a RoleType value to roleTypes prior to
calling
14 matches
Mail list logo