the solution is LONG RAW Oracle datatype
Cheong Takhoe wrote:
>
> Hi,
>
> I'm trying to achieve the method above with Oracle and it works ...
> but only for files less than 5k
>
> This is what I get when it fails..
> sql.SQLException: ORA-01461: can bind a LONG value only for insert into a
> LONG column
>
> I need help here because I intend to store media files...
> hows the solution to store files bigger than 5k?
>
> regards,
> Cheong Takhoe
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
--
Antonio Jimenez Alfaro
Departamento Tecnico
-------------------------------------------------------------
Internet Systems S.A. mailto:[EMAIL PROTECTED]
Doctor Esquerdo, 10 4� planta http://www.intersys.es
28028 MADRID Tel. +34 914.013.325
SPAIN Fax +34 914.015.689
-------------------------------------------------------------
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets