Have you taken a look at this?

http://code.google.com/appengine/docs/java/blobstore/overview.html

On Wed, Sep 8, 2010 at 8:02 AM, Rafael Barrera Oro <[email protected]>wrote:

> Hello there!
>
> I am trying to implement a basic file sharing service and, as you may
> already know, the datastore imposes a 1MB limit for the size of any
> blob, i thought that i could bypass this obstacle by spliting the file
> into several blobs but found out that the mentioned limit applies for
> the whole transaction, in other words, if i split a 10MB blob into ten
> 1MB blobs i still get the same error when i commit the transaction. I
> guess i could try saving each blob in a different transaction but i
> such approach is clearly very prone of error.
>
> My classes where the following:
>
> File (holds all the information of a file excepto for its contents)
> FilePart (holds a part of the file's contents and a foreign key to the
> file the parts belongs to)
>
> My procedure consisted in creating one File and as much FileParts as
> necessary, then saving it all inside of a transaction.
>
> Is there a way to increase the max size of the objects in a
> transaction or something like that?
> Has anyone succeded in beating the 1MB restriction? (i mean without
> using another storing service)
>
> thanks in advance!
>
> Rafael
>
> --
> 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]<google-appengine-java%[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
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

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