David, Thanks for looking into this patch. I did try the solution proposed by you i.e. count the bytes copied to Oracle Blob, but that did not return the correct length. I basically executed the select stmt of the storeContent method of the OracleRDBMSStore, after the copy method and then retrieved the blob and queried for blob.length(). The length method did not return the correct length. I don't know the reason for that. So instead of creating a tempFile in the OracleRDBMSStore I used the same code of StandardRDBMSStore for computing contentlength.
Regards, Ritu -----Original Message----- From: Davide Savazzi [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 6:16 PM To: Slide Developers Mailing List Subject: Re: Patch for Bug# 30317 I'll look at it with more attention at home this evening but if I've understood the problem, this bug affects the Oracle store because it doesn't correct contentLength if it's == -1... a possible solution could be: If compression support is on revisionDescriptor.setContentLength(ziputil.getContentLength()); else count the bytes copied to the Oracle Blob in the copy method... -- Davide Savazzi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]