> (see "chained persistence" inhttp://
tbroyer.posterous.com/gwt-211-requestfactory-part-ii, this article
> is a little old, but still mostly relevant)
I am using Hibernate on the server, in case I wasn't clear on that.
Let me try to make the issue a little clearer. I am:
1. Downloading a proxy for the header object
(including .with("responses") to make sure that collection of proxies
is loaded),
2. Adding new objects to the responses list for the proxied header
object
3. Sending a request to the server which includes the header object
as a parameter (which causes the associated Hibernate object to be
loaded in place of the proxied object)
4. Asking Hibernate to save the header object.
I've looked through the the issues that you've posted; the comments at
the end of 5839 seem to indicate that some people have gotten this to
work.
When I get to step 3, I first observe RequestFactory creating new
instances of the Response object, and then loading my Header object,
with Hibernate subsequently calling the setter for the response list.
The setter is also called by the RequestFactory framework
(SimpleRequestProcessor$1(AutoBeanVisitor).visitCollectionProperty),
but the list passed to the setter is empty; it seems the value
parameter in the visitCollectionProperty method, which I think should
be the list of ResponseObjects, is null on the server side, but there
definitely are response proxies in the list on the client side before
the header object is sent to the service method.
Ryan