Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-09-08 Thread tom
Hello Rayn, I've run into a similar problem. (Only difference being that I'm not constructing the Child collection but re-sending one I fetched earlier through RequestFactory). Did you figure out a solution? Regards, Tom -- You received this message because you are subscribed to the Googl

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-05-24 Thread Etienne P.
I ran across this issue recently when trying to update existing data. I am using the JDO API on GAE. I was able to get around this issue. I do believe making sure you share the PersistenceManager across for a single request was part of the solution. Also I've made changes to my Locator and forced

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-05 Thread Etienne P.
I've figured it out after reading the dang manual carefully this time :-/. I had forgotten to call the .with() method on the request. All's well. GWT and I are friends again. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to thi

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-05 Thread Etienne P.
I'm having the inverse problem, whereas I can save the list of children just fine, but when I retrieve them, the list shows up empty on the client side. I have proven that the children get retrieved just fine from the DB but they get lost in the process of "proxyfying" the response. Has anybody run

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-05 Thread will0
If you're using the method of obtaining the EntityManager that Google suggest in: http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html i.e. public static final EntityManager entityManager() { return EMF.get().createEntityManager(); } This won't work. RequestFactory wi

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-04 Thread Thomas Broyer
Most likely the properties for the children will be set *after* the children have been given to their parent; something like: 1. create parent 2. create child A 3. create child B 4. set parent properties (including "empty" children objects A and B) 5. set child A properties 6. s

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-04 Thread Vladimir Marchev
Hi Ryan! Create child the same request as the parent and all will be fine! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send emai

RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-03-21 Thread Ryan Rathsam
Hi All, I'm running into a strange problem with RequestFactory persisting a Parent / Child object graph. What it looks like is happening is that when my object graph is sent to the server side all of the child object properties are being set to null for some reason. During debugging I can verify t