You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by KeyEvent <ke...@yahoo.com.cn> on 2004/07/28 02:55:52 UTC

Very large file problem for JDBC storage

Hi
 
I am using 2.1 M1 and oracle storage for upload file. The problem is that oracle has a 4GB limitation for LOB maxsize, what will happen if a file more than that is uploaded? will slide find a way to handle it or just failed. I tried to upload some large file such as 2GB and failed, anyone here had done that? My code is like:
 
    token.begin();
    SubjectNode subject = new SubjectNode();
    // Creating an object
    structure.create(slideToken, subject, resourcePath);
    ......
   revisionContent.setContent(inputStream);
   content.create(
     slideToken,
     resourcePath,
     revisionDescriptor,
     revisionContent);
   token.commit();
 
 
Any suggestion? Thanks in advance.
 
Regards
 
Li



---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
100兆邮箱够不够用?雅虎电邮自助扩容!

Re: Very large file problem for JDBC storage

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
The size of content is restricted by the underlying persistent store,
e.g. Oracle.

Oliver

KeyEvent wrote:

> Hi
>  
> I am using 2.1 M1 and oracle storage for upload file. The problem is that oracle has a 4GB limitation for LOB maxsize, what will happen if a file more than that is uploaded? will slide find a way to handle it or just failed. I tried to upload some large file such as 2GB and failed, anyone here had done that? My code is like:
>  
>     token.begin();
>     SubjectNode subject = new SubjectNode();
>     // Creating an object
>     structure.create(slideToken, subject, resourcePath);
>     ......
>    revisionContent.setContent(inputStream);
>    content.create(
>      slideToken,
>      resourcePath,
>      revisionDescriptor,
>      revisionContent);
>    token.commit();
>  
>  
> Any suggestion? Thanks in advance.
>  
> Regards
>  
> Li
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> 150万曲MP3疯狂搜,您闯入音乐殿堂
> 美女明星应有尽有,搜遍美图、艳图和酷图
> 100兆邮箱够不够用?雅虎电邮自助扩容!


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org