You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Mehmet Gunacti <me...@gmail.com> on 2006/11/06 17:56:24 UTC

blob field

hello,
i've a blob field in table.

the preparedstatement equivalent code would look like this :

pst.setBinaryStream(3, new ByteArrayInputStream(messageVO.getAttachment()),
messageVO.getAttachment().length);

setBinayStream takes 2 parameters. how can i perform the update with
QueryRunner ?
does it support blob ?