You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/12/28 13:14:50 UTC
[jira] [Closed] (CAY-1885) Null value in subclass's field.
[ https://issues.apache.org/jira/browse/CAY-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1885.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.1B3
Good job on this one! I applied it to both 3.2 and 3.1 (without unit tests on 3.1, just the fix).
> Null value in subclass's field.
> -------------------------------
>
> Key: CAY-1885
> URL: https://issues.apache.org/jira/browse/CAY-1885
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library, ROP
> Affects Versions: 3.2M1
> Reporter: Oleg Artyukevich
> Fix For: 3.1B3, 3.2M1
>
> Attachments: 1885_fix.patch, 1885_test.patch
>
>
> For example have next objEntities:
> Super :
> - globalAttribute
> Sub1 :
> - sub1Attribute
> Sub2 :
> - sub2Attribute
> where Sub1 and Sub2 are sub entities of Super entity, and table :
> super:
> - ID
> - GLOBAL_ATTRIBUTE
> - SUB_ATTRIBUTE
> Then take records from db by entity "Super". Select Query filled "sub2Attribute" with null values in all objects of Sub2, when "sub1Attribute" filled with values from db.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)