You might want to try the persistent class

  com.google.appengine.api.datastore.Text

as mentioned in

  
http://code.google.com/intl/en/appengine/docs/java/datastore/dataclasses.html#Core_Value_Types

as this class has no specific character length limit. Of course, use
of this must still satisfy the overall datastore quotas and limits. I
use Text objects to persist string data longer than 250 or 500
characters long.

Enjoy,

Ian


On Jul 1, 4:36 am, Didier Durand <[email protected]> wrote:
> Hi,
>
> why don't you use blobs 
> ?http://code.google.com/appengine/docs/java/blobstore/overview.html
>
> didier
>
> On Jun 30, 6:59 pm, Developer <[email protected]> wrote:
>
> > Hi!
>
> > I'm developing blog engine using JSP, servletts and JDO (thru GAE).
> > And I've got a problem.
>
> > For blog-posts I've developed persistance class Posts with some fields
> > and with main String-field "text" for content of post. The problem is
> > the max lenght of this field: I can't add blog-posts larger then max
> > size of String. And of cource I cant add them then in datastore.
>
> > Does anybody have any ideas how to fix it? Because if I don't solve
> > this problem, I would get kind of micro-blog (like Twitter). And I
> > want a normal blog enstead :)
>
> > Thank you.
>
>

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