openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram Bhatia (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-567) @OrderColumn generates duplicate order numbers.
Date Thu, 10 Apr 2008 10:18:06 GMT

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

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

    Attachment: proposed-soln.patch

Proposed Solution.

> @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.


Mime
View raw message