Hey Jim,

Do I understand correctly that you only see the issue when you attempt to 
index the field - or what's the same thing - it doesn't occur when you turn 
the field's indexing off? 

Cheers,

Nick
Cloud Platform Community Support

On Thursday, March 2, 2017 at 1:26:02 PM UTC-5, Jim wrote:
>
> When I attempt to write a Datastore string longer than 1,500 bytes via JDO 
> I get the following error:   "String properties must be 1500 bytes or less. 
>  Instead, use com.google.appengine.api.datastore.Text, which can store 
> strings of any length."
>
> I've annotated my class to turn indexing off on this field, and I can 
> manually insert strings (much) longer than 1,500 bytes manually via the 
> Datastore Console.  
>
> Is there any way to store larger String values via JDO?  It seems like an 
> arbitrary limitation given the fact that I can manually insert larger 
> values into the Datastore, and Datastore doc says Strings can be up to ~1MB 
> in size.  I know I can convert these to Text but I'd rather not do that if 
> I can avoid it.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0775243c-61b1-4a9a-b1ab-fcc14e33ea0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to