[google-appengine] Datastore Detachable classes

2009-06-12 Thread Tim Wickstrom
Hello, I've made my datastore classes detachable so that I can work with the objects after the PersistenceManager is closed. However, I'm unable to access the children of the returned objects that are in a one-to-many owned relationship. What do I need to do in order to gain access to read the

[google-appengine] Detachable Entities in 1-to-N relationship

2009-06-11 Thread Tim Wickstrom
Hello, I'm writing an app in Java with the following class definitions (pseudo-code): @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable=true) class Owner { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long ownerId; // other

[google-appengine] Accessing query results after PersistenceManager is closed

2009-06-09 Thread Tim Wickstrom
Hello, I am building a function that queries the datastore and returns the results of the query. The basic structure of the function is as follows: 1. Get the persistenceManager pm from the factory 2. Execute a query string with pm.newQuery(queryString).execute() 3. Close pm 4. Return results

[google-appengine] PHP Quercus and datastore usage

2009-06-02 Thread Tim Wickstrom
Hello, I've created two kinds with a one-to-many relationship between them. When I try to manipulate the entities with my PHP scripts I get the following error: com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found. I'm writing the app in PHP using the Google

[google-appengine] Re: Defining HTTP 404 response with web.xml

2009-05-21 Thread Tim Wickstrom
mapping which matches all requests which fall through the above mappings (place it at the end of the web-app) and use it to write out your custom error page. I'm looking into the error-page element as well. Happy coding, Jeff On May 17, 8:57 am, Tim Wickstrom timwickst...@gmail.com wrote: I

[google-appengine] Defining HTTP 404 response with web.xml

2009-05-18 Thread Tim Wickstrom
I am using Java to run my google app, and I would like to override the default 404 error that is thrown. I am attempting to do this by defining the error page with web.xml web-app xmlns=http://java.sun.com/xml/ns/javaee; version=2.5 ... stuff ... error-page error-code404/error-code