Can I represent a primary key (Key) in an entity class as an Object
ref?  In other words, can I do:

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public Class AnEntity {

  @PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
  private Object pk;

}

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to