I have code like this

Blob blob = conn.createBlob();
BufferedImage img = ImageIO.read(stream);
...
ImageIO.write(img, "png", blob.setBinaryStream(1));
pstmt.setBlob(1, blob);

I think that complained something about Blobs not being supported.
This could be overcome currently by using piped streams and starting a new thread to do the writing to the output stream.

- rami

On 20.5.2010 23:05, Thomas Mueller wrote:
Hi

Are there any plans to implement support for Clob and Blob objects that are
part of the jdbc api?
Those interfaces are already supported. Not all methods, but reading
should work. If you need a method that is not yet supported, please
tell me which one(s) and why you need it. Some methods are partially
implemented, but there are not tests yet.

Regards,
Thomas


--
You received this message because you are subscribed to the Google Groups "H2 
Database" 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/h2-database?hl=en.

Reply via email to