cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfred Nathaniel <anathan...@apache.org>
Subject Re: Using ESQL to insert binary data into BLOB filed using InputStream
Date Thu, 28 Dec 2006 23:44:41 GMT
On Tue, 2006-12-26 at 04:06 -0800, Eitan Ben-Noach wrote:

> I would like to insert a file content (binary) into a BLOB field in my
> database (oracle ) using the file InputStream.
> 
> Something that is analogous to java.sql.PreparedStatement.
> setBinaryStream();

ESQL is a great tool for ad-hoc queries but for database updates I'd
recommend you to encapsulate it in a separate Java class.

Cheers, Alfred.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message