db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Wolff" <two...@bluestemsoftware.com>
Subject setBinaryStream
Date Thu, 11 May 2006 17:59:53 GMT
Hi,

Could someone please tell me how I can stream a stream of unkown length to the dbms?  The
setBinaryStream method on PreparedStatement requires a length argument and it appears that
the Derby impl requires that this value exactly match the number of bytes within the stream.
 

If this is the case, this implies that a client must read the entire stream before passing
it off to setBinaryStream? How is this any better than setBytes?


Thanks,

Todd
Mime
View raw message