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

xaHelper in ij creates global id that is not the same across platforms

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.1.1.0
    • Fix Version/s: 10.3.3.1, 10.4.2.1, 10.5.1.1
    • Component/s: Test
    • Labels:
      None
    • Environment:
      OS/390 (z/OS 1.06) with IBM j2RE 1.4.2.

      Description

      The test xa/xaOffline1 fails on OS/390 because the global_xid generated by ij is different.
      This value is created in org.apache.derby.impl.tools.ij.xaHelper - which class is only for testing. It tries to generate a the 2nd and 3rd part of the global_xid based on the database name, and in method XADataSourceStatement it is trying to do this by doing parser.stringvalue(dbname.image). It would be nice if this could get changed to something that gives the same result in ASCII and EBCDIC.

        Attachments

        1. derby-576_diff.txt
          0.9 kB
          Katherine Marsden

          Activity

            People

            • Assignee:
              kmarsden Katherine Marsden
              Reporter:
              myrna Myrna van Lunteren
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: