openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1582) @OrderColumn(updatable=false) may have the order column field updated
Date Thu, 18 Mar 2010 16:04:27 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846966#action_12846966
] 

Donald Woods commented on OPENJPA-1582:
---------------------------------------

Is this related to OPENJPA-1074?

> @OrderColumn(updatable=false) may have the order column field updated
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-1582
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1582
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.0.0-beta2
>            Reporter: Albert Lee
>            Priority: Minor
>
> When a collection with orderColumn set updatable=false, 
>     @ElementCollection//(fetch=FetchType.EAGER)
>     @OrderColumn(updatable=false)
>     private List<String> nonUpdableAnnotatedElements;
> when collection element is updated, the order column processing performs a delete/insert
sequence. The problem is that the implicit order column field is also updated while updatable=false.

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