openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey (JIRA)" <>
Subject [jira] Commented: (OPENJPA-567) @OrderColumn generates duplicate order numbers.
Date Tue, 22 Apr 2008 22:03:21 GMT


Patrick Linskey commented on OPENJPA-567:

Patch looks good. I'm running a remote test against it now; it should submit to the 1.1.x
branch shortly.

I had been curious about backward-compatibility with existing data sets; Srinivas points out
that this isn't an issue since the result set will never be empty in the case that there is
data, and so the existing data will be read.

> @OrderColumn generates duplicate order numbers.
> -----------------------------------------------
>                 Key: OPENJPA-567
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 1.0.2
>            Reporter: Vikram Bhatia
>            Priority: Minor
>         Attachments:, 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 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.

View raw message