Menu

#9 Error calling getInputStream()

open
nobody
None
5
2012-06-08
2012-06-08
Trejkaz
No

I tried to use some code which got the input stream for a BLOB, and got:

StreamingResultSet.getBinaryStream(): Can't convert object of type 'class de.simplicit.vjdbc.serial.SerialBlob' to InputStream
at de.simplicit.vjdbc.serial.StreamingResultSet.getBinaryStream(StreamingResultSet.java:687)
at de.simplicit.vjdbc.serial.StreamingResultSet.getBinaryStream(StreamingResultSet.java:757)
at [application code]

If this is on the client then wrapping the BLOB into an InputStream doesn't seem like it would be too hard.

Discussion


Log in to post a comment.