What is the meaning of this error message? I get this message when updating "Tenant"
Attempt was made to manually set the id component of a Key primary key. If you want to control the value of the primary key, set the name component instead. this is my entity class @Entity public class Tenant { @Version() private Long version; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long tenantId; @OneToOne(cascade=CascadeType.ALL) private Contact contact; ..... } @Entity public class Contact { @Version private Long version; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key contactId; .... } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---