Richard Zowalla created OPENJPA-3047:
----------------------------------------
Summary: 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
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)