Thanks andrew! My class Equipo has @persistence capable and
and serializable... The code:
import java.io.Serializable;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.datastore.Key;
@PersistenceCapable(identityType =
IdentityType.APPLICATION,detachable="true")
public class Equipo implements Serializable {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key id;
@Persistent
private String nombre;
@Persistent
private String imagen;
....
I'm not understand because it not pesist in the datastore.
Regards!
Lisandro
On 20 dic, 04:02, andrew <[email protected]> wrote:
> Is the child annotated as @persistence capable?
> Is it serializable?
> It also depends on the type of keys used and key generator strategy.
>
> Show us the code defining each class and we'll let you know.
>
> Quizas asi te ayudamos a poner tu equipo en primera división! :-)
--
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.