Replace:
@Persistent
with:
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)

Otherwise provide some code how you call the method
  public void saveUser(User user)   (I'm guessing that this method
throws exception).

particulary how the 'user' parameter is created.


--~--~---------~--~----~------------~-------~--~----~
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 google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to