openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Ringel (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1611) Wrong PersistentAttributeType returned for @Embedded types
Date Mon, 05 Apr 2010 10:33:27 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853348#action_12853348
] 

Oliver Ringel commented on OPENJPA-1611:
----------------------------------------

Hi Fay,
I made a test with the latest snapshot (2.1.0-SNAPSHOT). 
Attribute.getPersistentAttributeType() is returning the correct value now.

But I think you have to fix Attribute.isAssociation() too. It should return false for @Embedded
types. 
Maybe my above description was not clear enough.


> Wrong PersistentAttributeType returned for @Embedded types
> ----------------------------------------------------------
>
>                 Key: OPENJPA-1611
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1611
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.0.0
>            Reporter: Oliver Ringel
>         Attachments: openjpa-1611.tar
>
>
> Attribute.getPersistentAttributeType() should return PersistentAttributeType.EMBEDDED
for @Embedded types. 
> It returns PersistentAttributeType.ONE_TO_ONE now.
> I guess this also has effects on Attribute.isAssociation() which returns true for @Embedded
types.

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