To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105086


User fs changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|fs                        |oj
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Tue Sep 15 21:40:17 +0000 
2009 -------
fs->oj: There seems to be some inconsistency in how binary streams are handled
in the RowSet (or perhaps the driver returns wrong meta data?) ...

The form calls updateBinaryStream at the RowSet, with a stream containing the
complete image. The RowSet decides to store this as byte sequence, since it
thinks that the respective column is of type VARCHAR. When insertRow is called,
the cache tries to pass the stream as statement parameter, it recognizes the
column is of type BLOB, and thus tries to extract a stream from the column value
- which fails, since the RowSet wrote a by sequence.

So, what astonishes me is that the RowSet and the RowSetCache have different
opinions on the type of the column. This should either be fixed, and/or the
RowSetCache code which tries to write a BLOB should be able to handle byte
sequences, too.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to