Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6773 Derby throws plain SQLIntegrityConstraintViolationException
  3. DERBY-6801

Implement MessageUtils class so client and server can share message argument encoding/decoding

    XMLWordPrintableJSON

Details

    Description

      Currently, the Network Server contains code which encodes message arguments to be passed over DRDA to the client, and other code which
      decodes the encoded message arguments when the client passes
      them back in a call to SQLCAMESSAGE (see DERBY-1178 for additional
      discussion of this behavior).

      We would like to extract that logic and place it into a new MessageUtils
      class in the common shared library so that both the client and server
      can manipulate the message arguments without duplicating the code.

      Attachments

        1. subPart2.diff
          77 kB
          Abhinav Gupta
        2. messageUtils.diff
          22 kB
          Abhinav Gupta
        3. messageUtils_1.diff
          22 kB
          Abhinav Gupta
        4. build.out
          11 kB
          Bryan Pendleton
        5. MessageUtils_2.diff
          89 kB
          Abhinav Gupta
        6. MessageUtils_3.diff
          25 kB
          Abhinav Gupta
        7. MessageUtils_StandardExcep.diff
          49 kB
          Abhinav Gupta
        8. MessageUtils_StandardEx_1.diff
          53 kB
          Abhinav Gupta
        9. MessageUtilsBryan.diff
          19 kB
          Bryan Pendleton
        10. unsealDerbyNetJar.diff
          0.5 kB
          Bryan Pendleton
        11. MessageUtils_Latest.diff
          47 kB
          Abhinav Gupta
        12. MessageUtils_Latest_1.diff
          47 kB
          Abhinav Gupta
        13. MessageUtils_Latest_2.diff
          46 kB
          Abhinav Gupta

        Activity

          People

            mac777 Abhinav Gupta
            bryanpendleton Bryan Pendleton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: