It looks like experimental evidence conflicts with that:

http://code.google.com/p/googleappengine/issues/detail?id=2519

I'm about to publish (yes, yet another) persistence API as an
opensource project so getting this precisely right matters.  Are you
certain the official limit is 500 bytes and not 500 characters?

Thanks,
Jeff

On Wed, Dec 16, 2009 at 1:34 PM, Ikai L (Google) <[email protected]> wrote:
> Jeff,
>
> The limit should be 500 bytes.
>
> On Mon, Dec 14, 2009 at 4:24 PM, Jeff Schnitzer <[email protected]> wrote:
>>
>> Can anyone comment on this in an official capacity?
>>
>> I can write some code to test actual behavior, but I'd really rather
>> know the defined behavior.
>>
>> Thanks,
>> Jeff
>>
>> On Fri, Dec 11, 2009 at 2:41 AM, Jeff Schnitzer <[email protected]>
>> wrote:
>> > The javadocs for Text say the datastore limit is 500 characters:
>> >
>> >
>> > http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text.html
>> >
>> > The JDO docs say 500 bytes:
>> >
>> >
>> > http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Core_Value_Types
>> >
>> > The python docs for StringProperty say the limit is 500 bytes:
>> >
>> >
>> > http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#StringProperty
>> >
>> > Soooo.... what happens if I try to save a Java (utf-16) String which
>> > expands after utf-8 encoding to, say, the worst case scenario of 2000
>> > bytes?
>> >
>> > Thanks,
>> > Jeff
>> >
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>
>
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to