Hello

I have two classes .

public class Category extends BaseObject implements ICategory {

        private static final long serialVersionUID = 1L;

        @PrimaryKey
        @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
        private Key id;

        @Persistent
        private String name;

        @Persistent
        private Key parentFk;

}


public class Company implements ICompany {
        private static final long serialVersionUID = 1L;

        @PrimaryKey
        @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
        private Key id;

        @Persistent
        private String name;

        @Persistent
        private Category categoryFk;

}

I want to add a company with category object it's working but if I
want to retrive company with filter on category object so it's not
wroking. show some "embedded error"

This type of requirement facing more because every class object has
some relations at the  time  of retrieve data need filters on sub-
objects so please help me out.

Thanks

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to