db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laura Stewart (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2850) typo in autogenerated keys documentation. Should be Statement.RETURN_GENERATED_KEYS not Statement.RETURN_GENERATED_KEY
Date Fri, 29 Jun 2007 00:03:04 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508967
] 

Laura Stewart commented on DERBY-2850:
--------------------------------------

Ported to 10.3 branch using
Committed revision 551737.


> typo in autogenerated keys documentation.  Should be Statement.RETURN_GENERATED_KEYS
not Statement.RETURN_GENERATED_KEY
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2850
>                 URL: https://issues.apache.org/jira/browse/DERBY-2850
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.3.0.0
>            Reporter: Kathey Marsden
>            Assignee: Laura Stewart
>            Priority: Minor
>         Attachments: crefjavstateautogen.html, derby2850.diff
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message