Hi all,

I have an entity with a multivalue property:
@Entity(name="TargetProfile")

@NamedQueries({
        @NamedQuery(name="ProfileQuery", query="select from TargetProfile
where name = :name")
})

public class Profile implements DomainObject{
        @Id
    @Extension(vendorName="datanucleus", key="gae.encoded-pk",
value="true")
    private String key;

    @Column(name="name")
        private String name;

        private Set<String> age;

        private Set<String> education;

        private String country;

        private String city;

        etc.

If I save this entity I every propertie is saved including the Set.
But if I retrieve the entity with the named query, the mulitvalued
properties with the Set do not have a value, but in the datastore ther
is a value.

Am I doing something wrong?

-- 
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