Hello all,

In my app engine project I have been storing values in the datastore as Text 
(com.google.appengine.api.datastore.Text) instead of String as I expect the 
value may be greater than 500 sometimes.

It all works great bar one problem.

When extracting the Text value and converting it to a Sting it seems to 
store the underlying value inside some form of HTML-like 'tag'.

For example: storing 'testing' in the Datastore as Text returns '<Text: 
testing\n\n> when converting it to string using Text.getValue();

Does anyone have any ideas how to solve this without having to actually 
parse the string and extract the value?

Sample code below shows how I convert from Text to String:
Text command = new Text("testing");
String commandString = command.getValue();



-- 
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