How do I write data in my Google App Engine Datastore to com.google.appengine.api.datastore.Text

Posted by Lloyd on Stack Overflow See other posts from Stack Overflow or by Lloyd
Published on 2010-03-11T04:45:53Z Indexed on 2010/03/11 5:08 UTC
Read the original article Hit count: 404

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?

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about google-datastore