Lloyd, String reallyLong = "It was the best of times, it was the worst of times..... (...) ..";
Text myText = new Text(reallyLong); I don't understand your reference to "setMethod()". Cheers! On Mar 10, 10:53 pm, Lloyd <cled...@gmail.com> wrote: > I have persistent object, with a string property that often is over > 500 charachters. Google App Engine says I need to save it as a > com.google.appengine.api.datastore.Text. > > How do I either convert a String type to a > com.google.appengine.api.datastore.Text type so I can use a > setMethod() on the property, or otherwise get my long sting data into > that persistent value? -- 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-j...@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.