[
https://issues.apache.org/jira/browse/OPENJPA-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Solodovnik resolved OPENJPA-3047.
---------------------------------------
Fix Version/s: 4.2.0
Assignee: Richard Zowalla
Resolution: Fixed
> Bulk UPDATE of a column in a joined superclass or a secondary table fails on
> Derby and H2
> -----------------------------------------------------------------------------------------
>
> Key: OPENJPA-3047
> URL: https://issues.apache.org/jira/browse/OPENJPA-3047
> Project: OpenJPA
> Issue Type: Sub-task
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 4.2.0
>
>
> Two bulk UPDATE cases fail:
> * Setting a column of a joined superclass through a subclass, e.g. {{UPDATE
> Engine e SET e.quantity = ...}} where {{quantity}} is mapped in the
> superclass table, fails on Derby: {{'QUANTITY' is not a column in table
> 'ENGINE'}}.
> * Setting a column of a secondary table, e.g. {{UPDATE Product e SET e.detail
> = ...}}, fails on Derby and H2, which use the unaliased {{UPDATE PRODUCT SET
> detail = ...}} form against the primary table.
> Found while working on OPENJPA-3036.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)