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

Patrick Linskey updated OPENJPA-274:
------------------------------------

    Attachment: bulk-updates.patch

This patch resolves this bug and also OPENJPA-275. It is possible to decouple 
this from OPENJPA-275 if it is deemed that OPENJPA-275 is not desirable. 
Thoughts?

> JPQL queries cannot access version fields, including bulk updates
> -----------------------------------------------------------------
>
>                 Key: OPENJPA-274
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-274
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc, query
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7
>            Reporter: Patrick Linskey
>            Assignee: Patrick Linskey
>             Fix For: 1.0.0
>
>         Attachments: bulk-updates.patch
>
>
> OpenJPA throws an exception if a query uses a field mapped as a @Version. 
> This happens because FieldMappings for fields that are @Version do not have 
> any columns, since the columns are managed separately by the owning 
> ClassMapping's version indicator.

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