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

add documentation to declare global temporary tables to explain expected behavior when used with XA transactions.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.7.1.1
    • 10.11.1.1
    • Documentation
    • None

    Description

      Add the following information to the DECLARED GLOBAL TEMPORARY TABLE documentation, probably in the restrictions section.

      Declared Global Temporary Tables can be used in XA transactions, but
      can only be declared and accessed within the scope of a single XA transaction.
      Derby only can support access to the table until one of the following XA
      interfaces is called:
      XAResource.end(), XAresource().prepare(), or XAResource.commit()

      Derby will automatically drop the temporary table whenever the XA tranaction
      commits or aborts, subsequent attempts to access the tables will encounter
      table not found errors.

      Attachments

        1. rrefdeclaretemptable.html
          11 kB
          Camilla Haase
        2. rrefdeclaretemptable.html
          11 kB
          Camilla Haase
        3. DERBY-4750-2.diff
          0.9 kB
          Camilla Haase
        4. DERBY-4750.diff
          0.8 kB
          Camilla Haase

        Activity

          People

            chaase3 Camilla Haase
            mikem Mike Matrigali
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: