db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Korneliussen <Andreas.Kornelius...@Sun.COM>
Subject Re: [jira] Commented: (DERBY-550) BLOB : java.lang.OutOfMemoryError with network JDBC driver (org.apache.derby.jdbc.ClientDriver)
Date Tue, 11 Jul 2006 11:05:50 GMT
> Do we support streaming in the embedded driver?

The embedded driver supports streaming. If you i.e call 
PreparedStatement.setBinaryStream(int parameterIndex, InpuStream x, int 
length), all the data of the InpuStream will be inserted into the row 
when doing executeUpdate(), *without* expanding all the data of the 
stream into memory. The same applies to updatable resultsets 
(ResultSet.updateBinaryStream(..) and ResultSet.updateRow()).


View raw message