Monday, October 31, 2011

Re: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

Thanks for looking at my code. I wanted to follow up.

to 1. I was having problems with the implying the parent in the ownership, so I had to do it manually. I have other projects where I use RPC and I don't have to set the parent. For some reason I wasn't able to get it to work in this codebase. I'll try again  Thanks for noticing that.

to 2. I found you can have arguments in the tokenizer. The one you saw was not really being used. Here is a better example:

to 3. I'll have to try the editor driver. On the Todo list. 

to 4. I wouldn't/don't mind using JPA, but I could not find a path of success using the annotations to setup the Owned Collections annotations. I tried everything I could think of and settled with this. I do like the concise annotations in JPA although, when it came to Owned Collections in App Engine it failed for me. If you look into the history, I tried twice on this code base. Its most likely operator error. 
This is the JPA version I tried: - no worky for me. 

Do you know how to annotate owned Collections in JPA. 

Thanks for looking through the code! :)

Brandon Donnelson

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment