If you're open to alternatives besides JDO, note that Objectify will
auto-convert from String to Text as needed:

http://groups.google.com/group/objectify-appengine/browse_thread/thread/48242872863621ff

/dmc

On Jul 1, 2:21 am, Ian Marshall <ianmarshall...@gmail.com> wrote:
> 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/dataclas...
>
> 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 <durand.did...@gmail.com> 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 <cyber.antagon...@gmail.com> 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to