hello again!
i just (scaredly) realized that all JDBC stream writing methods (in
PreparedStatement) require a "length" parameter indicating the length of
the stream to be written.
i was hoping that SAP DB would not require that parameter and had a look
at the JDBC driver sources. In StreamTranslator.java i found out that
only setBlob() works; setXXXStream throws an exception. questions: did i
read the sources correctly ? do i always have to supply the length
parameter ?
(insert stupid-question-appology here)
Raimund
--
Raimund Jacob
\|/ ____ \|/
Pinuts Media+Science GmbH "@'/ ,. \`@"
Potsdamer Str. 96 /_| \__/ |_\
D-10785 Berlin \__U_/
http://www.pinuts.de/ voice: +49 30 590090322 fax: +49 30 590090390