openjpa-dev mailing list archives

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


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
Maybe my above description was not clear enough.

> Wrong PersistentAttributeType returned for @Embedded types
> ----------------------------------------------------------
>                 Key: OPENJPA-1611
>                 URL:
>             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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message