openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-793) Embeddables does not work properly with duplicate persistent field names
Date Wed, 26 Nov 2008 19:16:44 GMT
Embeddables does not work properly with duplicate persistent field names
------------------------------------------------------------------------

                 Key: OPENJPA-793
                 URL: https://issues.apache.org/jira/browse/OPENJPA-793
             Project: OpenJPA
          Issue Type: Bug
            Reporter: Fay Wang


If an embeddable has the same persistent field names as its owning class, or two embeddables
contains the same field names and both are embedded in an entity class, openjpa will not work
properly due to the column name clashes. The fix is for openjpa to detect these situations
and throw an exception and for the application to use @AttributeOverride to specify unique
column names for the persistent fields in the embeddable.

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