[
https://issues.apache.org/jira/browse/OPENJPA-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18139420#comment-18139420
]
ASF subversion and git services commented on OPENJPA-3047:
----------------------------------------------------------
Commit 07545ac62da482d1eaa056c881ce49ba9661a65a in openjpa's branch
refs/heads/OPENJPA-3047 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=07545ac62 ]
[OPENJPA-3047] Use Map<Path, Value> for the fields of a bulk update
Type the bulk update fields as Map<Path, Value> instead of raw maps and
Object entries in JDBCStoreQuery and DBDictionary.toTableUpdate.
> 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
> Priority: Major
>
> 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)