Do you have a reproducible test case or some code you can post?

On Tue, Dec 1, 2009 at 5:02 AM, Henry <[email protected]> wrote:

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


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

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