I have a persistent object with a string property that often is over 500 characters. The Google App Engine says I need to save it as com.google.appengine.api.datastore.Text.
How to convert the String type to the com.google.appengine.api.datastore.Text type so that I can use the setMethod () property in the property, or otherwise get my long sting data into this constant value?
setMethod(new Text(longStringValue)); String value = text.getValue();
String Text, , . String Text , ( , , , ). , .
String com.google.appengine.api.datastore.Text,
Text myText = new Text(myString);
Source: https://habr.com/ru/post/1736432/More articles:How to make some selected items checked when loading in jstree. (selected = "selected" does not work) - javascriptProblem implementing Interceptor pattern - c #How to load jstree checkbox when loading VB ASP - javascriptIs there a way to include namespaces in xaml, so I don't need to write an extension? - namespacesAre PyArg_ParseTuple () "s" format specifiers useful in the Python 3.x C API? - pythonHow to use Twitter Api to get more than 20 members of the list in one request? - apisqlite3 delete does not delete everything? - sqlite3page postback on asp.net? - c #Text overflow textblock wpf left - wpfcheck if the value is an integer (Objective-C) - objective-cAll Articles