Intro:
I am an experienced embedded 'C' developer;
I have written a little C++ and C#;
I am new to both Java in general and AppEngine in particular;
I don't know Python at all.

I am trying to use the datastore, following the "Book Store" example
in the online docs:
http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html

This is OK, but I soon get the following Exception:

String properties must be 500 characters or less.  Instead, use
com.google.appengine.api.datastore.Text, which can store strings of
any length.

But I can't see how to load data from a Java String into Text -
Eclipse complains that there is no conversion, and I can't see any
"ToText" or equivalent method.

I haven't been able to find any Java examples to illustrate this (or
haven't recognised them, perhaps?)

So, how does one save a Java String of over 500 characters?

Cheers,

Andy

-- 
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