[appengine-java] Re: Jdo: detaching objects vs. merging transient objects

2009-11-11 Thread a.maza
thanks for your answers: Pierre, the StreamingQueryResult is not serializable. However, to my understanding this problem is alleviated when you work with detached objects since you call something like Collection c = pm.detachCopyAll(resultList); at the end and you are then returning the

[appengine-java] Re: Jdo: detaching objects vs. merging transient objects

2009-11-10 Thread datanucleus
The list is not a basic ArrayList but a class of Datanucleus that is not serializable. Really ? You mean an org.datanucleus.sco.backed.ArrayList that simply extends java.util.ArrayList ... that implements Serializable ? Hence is Serializable. Perhaps if you actually define a testcase as per

[appengine-java] Re: Jdo: detaching objects vs. merging transient objects

2009-11-10 Thread Pierre
ok i have to learn to read at the console. Here is my log : The server is running at http://localhost:8080/ 10 nov. 2009 18:00:24 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1257876024239000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC

[appengine-java] Re: Jdo: detaching objects vs. merging transient objects

2009-11-10 Thread Pierre
ok i have to learn to read at the console. Here is my log : The server is running at http://localhost:8080/ 10 nov. 2009 18:00:24 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1257876024239000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC

[appengine-java] Re: Jdo: detaching objects vs. merging transient objects

2009-11-10 Thread Pierre
ok i have to learn to read at the console. Here is my log : The server is running at http://localhost:8080/ 10 nov. 2009 18:00:24 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1257876024239000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC

[appengine-java] Re: Jdo: detaching objects vs. merging transient objects

2009-11-10 Thread Rusty Wright
I'm finding that it's nearly impossible to work with the detaching objects style. I can't tell for sure what's happening other than when I add a PersistenceCapable object to another PersistenceCapable object's collection (i.e., the first one will be the child of the second one) that I get an