Subject Re: Another problem with blobs BLOBS?
Author rrokytskyy
> ps.setObject (i, value, java.sql.Types.BINARY)

unfortunately, this code ignores the sql type you provide and
delegates call to setObject(i, value). However, what is the type
of "value"? This seems to be a bug, because you should get exception
earlier if the type of "value" is not understand by driver, or
everything should be fine.

If you're using up-to-date sources (and
FBPreparedStatementWithFields), then driver understands following
types: java.io.InputStream, java.math.BigDecimal, java.sql.Blob (it
uses java.sql.Blob.getBinaryStream() method), Boolean, Byte, byte[],
java.sql.Date, Double, Float, Integer, Long, Short, String,
java.sql.Time, and java.sql.Timestamp. We do not perform object
serialization/deserialization, because this seems not to be a part of
JDBC driver.

If all this holds, and you still get an exception, then I would
appreciate if you post the code (best as jUnit test case) and I will
check this issue.

Thanks!
Roman Rokytskyy