Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3871

EmbedBlob.setBytes returns incorrect insertion count

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: 10.4.2.1, 10.5.1.1
    • Component/s: JDBC
    • Labels:
      None

      Description

      EmbedBlob.setBytes returns invalid insertion counts. According to the JavaDoc, it should return the number of bytes inserted. The current implementation seems to return the position in the Blob after the bytes have been written.

        Attachments

          Activity

            People

            • Assignee:
              kristwaa Kristian Waagan
              Reporter:
              kristwaa Kristian Waagan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment