[
https://issues.apache.org/jira/browse/OPENJPA-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Minor updated OPENJPA-1227:
---------------------------------
Attachment: test-abstract-hierarchy-with-cache.patch
Test case patch against 1.2.1 which demonstrates the issue. Fetch groups turned
out to be key to recreating.
> SQL generation error when using data cache
> ------------------------------------------
>
> Key: OPENJPA-1227
> URL: https://issues.apache.org/jira/browse/OPENJPA-1227
> Project: OpenJPA
> Issue Type: Bug
> Components: datacache, jdbc, sql
> Affects Versions: 1.2.1
> Reporter: David Minor
> Attachments: openjpa_superclass_join.patch,
> test-abstract-hierarchy-with-cache.patch
>
>
> When the DataCacheStoreManager loads an object whose (table join strategy)
> superclass contains an eager to-many field, and this is the only field
> selected in the superclass, and when one or more fields are selected in the
> subclass, openjpa fails to create a join between the subclass and superclass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.