[appengine-java] user authentication when moving off app-engine

2011-02-24 Thread bcottam
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

[appengine-java] Re: periodic downtimes

2011-02-10 Thread bcottam
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

[appengine-java] periodic downtimes

2011-02-10 Thread bcottam
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

[appengine-java] JDO @Version not working properly?

2010-09-02 Thread bcottam
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

[appengine-java] Re: oid is not instanceof javax.jdo.identity.ObjectIdentity

2009-12-07 Thread bcottam
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'

[appengine-java] new in 1.2.8: "relationship fields of type . This is not yet supported."

2009-12-07 Thread bcottam
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

[appengine-java] Re: oid is not instanceof javax.jdo.identity.ObjectIdentity

2009-11-30 Thread bcottam
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

[appengine-java] oid is not instanceof javax.jdo.identity.ObjectIdentity

2009-11-30 Thread bcottam
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

[appengine-java] Re: Why is it called "Google App Engine for Java" ?

2009-11-30 Thread bcottam
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

[appengine-java] Re: date between jdo query

2009-09-19 Thread bcottam
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, > >

[appengine-java] Re: date between jdo query

2009-09-18 Thread bcottam
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