Derby
  1. Derby
  2. DERBY-2850

typo in autogenerated keys documentation. Should be Statement.RETURN_GENERATED_KEYS not Statement.RETURN_GENERATED_KEY

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.3.1.4
    • Component/s: Documentation
    • Labels:
      None

      Description

      In the autogenerated keys examples there is a typo:
      http://db.apache.org/derby/docs/dev/ref/crefjavstateautogen.html

      The example for Code fragment 1 has
      stmt.execute(
      "INSERT INTO TABLE1 (C11) VALUES (1)",
      Statement.RETURN_GENERATED_KEY);

      but it should be:
      stmt.execute(
      "INSERT INTO TABLE1 (C11) VALUES (1)",
      Statement.RETURN_GENERATED_KEYS);
      http://db.apache.org/derby/docs/dev/ref/crefjavstateautogen.html

      1. derby2850.diff
        6 kB
        Laura Stewart
      2. crefjavstateautogen.html
        6 kB
        Laura Stewart

        Activity

        Kathey Marsden created issue -
        Kathey Marsden made changes -
        Field Original Value New Value
        Summary type in autogenerated keys documentation. Should be Statement.RETURN_GENERATED_KEYS not Statement.RETURN_GENERATED_KEY typo in autogenerated keys documentation. Should be Statement.RETURN_GENERATED_KEYS not Statement.RETURN_GENERATED_KEY
        Laura Stewart made changes -
        Assignee Laura Stewart [ scotsmatrix ]
        Hide
        Laura Stewart added a comment -

        Attaching a patch and an html file to show the update.

        Show
        Laura Stewart added a comment - Attaching a patch and an html file to show the update.
        Laura Stewart made changes -
        Attachment derby2850.diff [ 12360764 ]
        Attachment crefjavstateautogen.html [ 12360763 ]
        Laura Stewart made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Laura Stewart made changes -
        Derby Info [Patch Available]
        Hide
        Laura Stewart added a comment -

        Committed revision 551731.

        Show
        Laura Stewart added a comment - Committed revision 551731.
        Laura Stewart made changes -
        Resolution Fixed [ 1 ]
        Derby Info [Patch Available]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Hide
        Laura Stewart added a comment -

        Ported to 10.3 branch using
        Committed revision 551737.

        Show
        Laura Stewart added a comment - Ported to 10.3 branch using Committed revision 551737.
        Kathey Marsden made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kathey Marsden made changes -
        Component/s Documentation [ 11406 ]
        Kathey Marsden made changes -
        Fix Version/s 10.3.1.4 [ 12312590 ]
        Gavin made changes -
        Workflow jira [ 12406705 ] Default workflow, editable Closed status [ 12800156 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        8d 4h 47m 1 Laura Stewart 28/Jun/07 23:43
        In Progress In Progress Resolved Resolved
        27m 1s 1 Laura Stewart 29/Jun/07 00:10
        Resolved Resolved Closed Closed
        49d 23h 24m 1 Kathey Marsden 17/Aug/07 23:34

          People

          • Assignee:
            Laura Stewart
            Reporter:
            Kathey Marsden
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development