#5 BLOB support in setObject(...)

open
nobody
None
5
2002-01-27
2002-01-27
Lou
No

Mark,

Thanks for all of your hard work on this driver.
Would it be possible to add support for BLOB in all of
the PreparedStatement.setObject() methods?

The JavaDoc for PreparedStatement.setObject(...)
says "If, on the other hand, the object is of a class
implementing Ref, Blob, Clob, Struct, or Array, the
driver should pass it to the database as a value of
the corresponding SQL type." but as of 2.0.11 this
has yet to be implemented.

I would be happy to add this to the source myself and
submit it to you for a code review. Is that how it
typically works with this project? I assume you want
to somehow keep it inside of the
JDBC2.PreparedStatement version since that's where all
the Blob support resides.

Thanks Mark and let me know,
Lou

Discussion