openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Minor (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-1227) SQL generation error when using data cache
Date Tue, 01 Sep 2009 19:02:33 GMT

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


Mime
View raw message