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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/c1552cc1-42f4-4f48-b125-d584b420d3e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to