Good day,
I am trying to put my head around on how to build 1:1 or 1:n relationships
using objectify.
User class has information about a user such as first name, last name,
email address, etc...
A user can create several projects. I am trying to add reference of his
parent (a user in this case) so I can mesh everything together.
However, I keep getting the following error message: "Parameterized type
<User> not supported.
Can you guys shed some light please?
Here is an excerpt from my Project.java class....
import User;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.*;
import com.googlecode.objectify.annotation.Parent;
@Entity
public class Project {
@Id Long projectId;
@Parent Key<User> user;
String title;
String description;
....
Thanks for your help.
LM
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.