Hi Guys,

Im new at Google App Engine, I've the follow problem:
When Im recovering a persistent class Announcer, it has one field
(country) with NO VALUE...I thought that must to be for a bad mapping
with the annotations creating the proper class, but I don't know how
to do to get again the Key that I've stored. When Im storing the Key
(country), it has value, I can see it in the Google App Engine
DataViewer.
This is my class with the annotations:

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Announcer {

        @PrimaryKey
        @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
        private Long id;
        @Persistent
        private String emailAddress;
        @Persistent
        private String password;
        @Persistent
        private String firstName;
        @Persistent
        private String lastName;
        @Persistent
        private Key country;

Anyone could help me?
Im using Java and JDO.
Thanks for advance.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.


Reply via email to