Cloud Endpoints Support For Text Fields With More Than 500 Characters
I need to store a field that is usually over 500 characters. When using the String data type, App Engine fails and suggests to use the com.google.appengine.api.datastore.Text datat
Solution 1:
There is doccumented limitation to Datastore - 500 characters for String. You can bypass it by using Text (or unindexed String, since Text is deprecated I believe). But this just covers saving/reading data from datastore.
There is undocumented limitation of 500 chars to endpoint method single param. This mean if you send some objct to the method, which after serialization takes more space than 500 chars the method will fail.
I did bypass it by using a servlet. See my question here
Post a Comment for "Cloud Endpoints Support For Text Fields With More Than 500 Characters"