XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.3.1.4
    • Network Client
    • None

    Description

      The client JDBC driver will need to call stored procedures (ref DERBY-2257) to operate on LOBs identified by locators. We should create a framework that implement the stored procedure calls. This way, the rest of the client code can call methods in this framework when needing to call the stored procedures without having to prepare SQL statements themselves.

      The framework should make sure that prepared statements are reused within a connection. Each procedure call should only be prepared once per connection.

      Since LOBs can not be parameters to stored procedures, the framework should make sure that calls involving a byte[] or String that does not fit in a VARCHAR (FOR BIT DATA), are split into several calls each operating on a fragment of the LOB.

      Attachments

        1. blobframework.diff
          44 kB
          Oystein Grovlen
        2. blobframework_v2.diff
          48 kB
          Oystein Grovlen
        3. blobframework_v2.diff
          48 kB
          Oystein Grovlen
        4. derby-2459-followup.diff
          3 kB
          Oystein Grovlen

        Activity

          People

            oysteing Oystein Grovlen
            oysteing Oystein Grovlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: