Try to replace the quercus.jar+resin-util.jar+jetty.... solution with
resin.jar, and replace QuercusServlet with GoogleQuercusServlet.(It's
in resin-4.0.0 package.) There's some problems with previous one as I
testing the php from the following url:

http://blog.caucho.com/?p=187

It's official blog from caucho (and also quercus).


Regards,
Fillano

On 5月17日, 下午3時35分, Herbert Groot Jebbink
<[email protected]> wrote:
> Hi,
>
> Folowing below pages I can now store en retrieve data into the
> Datastore withPHP.
>
>        http://brian.brispace.net/2009/04/09/php-on-google-app-engine/
>        http://www.fistagon.us/wp/?p=16
>
> however I have problems with update and delete, for example, below
> atempt to delete a object gives a 500
> java.lang.UnsupportedOperationException
>
>         $id = 14;
>
>         import phptest.test;
>         import phptest.PMF;
>
>         $p = PMF::get();
>         $pm = $p->getPersistenceManager();
>         $q = $pm->newQuery("select from phptest.test where id == $id");
>         $results = $q->execute();
>
>         echo $results[0]->getId() . " - " . $results[0]->getFirstName() . ";
>
>         $pm->deletePersistent($results[0]);
>
>         $pm->close();
>
> are there somewhere update / delete examples?
>
> Kind Regards, Herbert

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to