Ya, having datanucleus around to solve all our problems is pretty
sweet...

You should worry whether your Long id will survive a trip through
GWT....


http://openlandscape.wordpress.com/2008/02/24/google-web-toolkits-gwt...
http://www.ongwt.com/post/2008/02/25/GWT-and-the-Java-long-data-type

Also, detachable = "true" will tell the DataNucleus extension to add a
hidden Object[] to your class so it can be put back into the server.
The field is invisible, and contains multiple data types, so GWT does
not, and likely will not support it anytime soon.  Use

@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = "false")

And then to put your data back in the datastore, use Ray Cromwell's
mad reflection skills:

http://timepedia.blogspot.com/2009/04/google-appengine-and-gwt-now-marriage.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to