[ 
https://issues.apache.org/jira/browse/OPENJPA-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vikram Bhatia updated OPENJPA-567:
----------------------------------

    Attachment: OrderColumnTest.zip

Please see README.txt in zip file.

> @OrderColumn generates duplicate order numbers.
> -----------------------------------------------
>
>                 Key: OPENJPA-567
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-567
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 1.0.2
>            Reporter: Vikram Bhatia
>            Priority: Minor
>         Attachments: OrderColumnTest.zip, proposed-soln.patch
>
>
> @OrderColumn generates and inserts duplicate entries. This is not always the 
> issue, but only for first number, and it starts at 1 instead of 0. The 
> problem is in class StoreCollectionFieldStrategy.load() method where variable 
> seq either needs to be initialized with -1.

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

Reply via email to