[appengine-java] embedding parent object in parent-child relation with jdo

2009-12-18 Thread Eugene Kuleshov
I am using the app engine SDK 1.3.0 with the latest Google Eclipse plugin. Currently, in order to be able to run queries on attributes of the parent object I have to embed parent object into a child. So, I have created the following classes @PersistenceCapable(identityType =

Re: [appengine-java] embedding parent object in parent-child relation with jdo

2009-12-18 Thread Rusty Wright
Try making the parent's primary key be Key instead of String. Eugene Kuleshov wrote: I am using the app engine SDK 1.3.0 with the latest Google Eclipse plugin. Currently, in order to be able to run queries on attributes of the parent object I have to embed parent object into a child.