Derby
  1. Derby
  2. DERBY-1553

With the change for DERBY-353 IDENTITY_VAL_LOCAL documentation needs to be changed to reflect the value inserted by the user for GENERATED BY DEFAULT

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.6.1.0
    • Component/s: Documentation
    • Labels:
      None
    • Issue & fix info:
      Newcomer

      Description

      The documentation for IDENTITY_VAL_LOCAL at http://db.apache.org/derby/docs/dev/ref/rrefidentityvallocal.html

      says:
      The INSERT statement must contain a VALUES clause on a table containing an identity column.
      The assigned value is an identity value generated by Derby.

      but after the fix for DERBY-353 fix the value is the last value inserted into an identity column whether it it was generated by Derby or specified by the user in the case of GENERATED BY DEFAULT

      Perhaps we could just remove the sentence:
      The assigned value is an identity value generated by Derby.

      1. rrefidentityvallocal.html
        6 kB
        Bryan Pendleton
      2. docs.diff
        0.9 kB
        Bryan Pendleton

        Activity

        Hide
        Bryan Pendleton added a comment -

        Kathey's suggestion of simply removing the sentence that was only true for GENERATED ALWAYS columns seems quite reasonable to me.

        Attached is a proposed patch to accomplish this, and the resulting HTML page.

        Show
        Bryan Pendleton added a comment - Kathey's suggestion of simply removing the sentence that was only true for GENERATED ALWAYS columns seems quite reasonable to me. Attached is a proposed patch to accomplish this, and the resulting HTML page.
        Hide
        Bryan Pendleton added a comment -

        Committed to the docs trunk as revision 892286.

        Show
        Bryan Pendleton added a comment - Committed to the docs trunk as revision 892286.

          People

          • Assignee:
            Bryan Pendleton
            Reporter:
            Kathey Marsden
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development