I have a client I've developed an app-engine app for, but for reasons to
silly to mention here, they'd like to move to a hosted server model. I've
developed my own implementation of all the Google services my code relies on
(like Memcache and TaskQueue etc.) however, I'm having a bit of a hard
Good point Robert, I'm not sure if it's just the datastore. My users wind
up getting a 500 error on requests that just read data, usually even if the
datastore has issues, you can still read from it.
I'd be comfortable using memcache, but I'd want to ensure it had the same
data integrity as t
We've just recently turned on billing in our application and enabled the
"Always On" feature. However, we still see periods of downtime for about
1-2 minutes throughout the day. Since we turned on billing and have started
getting users active on the app, we've started to notice these downtimes
I'm trying to find out if I'm using the @Version annotation properly
in my project.
I read the "code snippets that work" from Max Ross:
http://gae-java-persistence.blogspot.com/2009/10/optimistic-locking-with-version.html
...but perhaps there's a subtle detail I'm missing.
I have a class that gets
Max, have you had a chance to try this out? I'm not trying to push or
anything, just wanted to make sure my last message didn't get
overlooked. I've noticed this error sort of... randomly popping up in
places where it preivously hasn't as of late. If i'm missing
something in my configuration, I'
I've got some classes that extend a base class. This base class
implements some simple functions (like hashCode() and equals() ect.)
in a generic way so I don't have to keep writing those methods over...
and over... and over again. It also is the central place for entities
"id" field:
@Inherit
no one has any ideas on this?
I'd really like to know if this is just a bug that will be resolved
(in which case I'll continue to use this data model) or if there is a
flaw in my data model/JDO usage.
thanks!
-bryce
On Nov 30, 1:21 am, bcottam wrote:
> I'm trying to save s
I'm trying to save some data in my app, quite similar to almost all
other data I've previously saved. However, I'm now getting this stack
trace:
java.lang.ClassCastException: oid is not instanceof
javax.jdo.identity.ObjectIdentity
at com.resmark.client.model.RatePlan.jdoCopyKeyFieldsFromO
The subject of this thread really caught my eye. I have to echo
Bobby: I read about the GAE before trying to implement anything on it,
and was well aware of the limitations. I'd have to suggest that you
read the docs prior to assuming anything about the environment.
The subject matter in this th
the query you are trying to
do on your local system, then if that succeeds, I'd make sure that
your datastore-indexs.xml is consistent between your local and
production environments.
hope that helps!
-bryce
On Sep 18, 12:47 pm, sprz wrote:
> Thanks for your answers guys,
>
>
I do this quite a bit in my app.
Basically I make a query like this:
Query q = pm.newQuery(MyClass.class, "myDate >= :firstDateParam &&
myDate <= :secondDateParam");
Map params = new HashMap();
params.put("firstDateParam", startDate);
params.put("secondDateParam", endDate);
q.executeWithMap(params
11 matches
Mail list logo