Using com.google.appengine.api.datastore.Text

I am developing an application in a Google Engine application. I save HTML text in a data warehouse using com.google.appengine.api.datastore.Text. The whole transaction works fine, except for the partial row that is stored in the data warehouse. I do not know.

+3
source share
1 answer

The "java.lang.String" that you usually use is limited to 500 characters.

You need to import and use

import com.google.appengine.api.datastore.Text;
....


class HtmlItem {

     @Persistent
     private Text html;
}
+1
source

Source: https://habr.com/ru/post/1757129/


All Articles