cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1574) Cayenne Modeler is inconsistent when adding Embeddables
Date Sun, 05 Jun 2011 14:26:49 GMT

    [ https://issues.apache.org/jira/browse/CAY-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044538#comment-13044538
] 

Michael Gentry commented on CAY-1574:
-------------------------------------

I'm having trouble replicating this problem consistently.  Will continue to try to isolate
the issue.


> Cayenne Modeler is inconsistent when adding Embeddables
> -------------------------------------------------------
>
>                 Key: CAY-1574
>                 URL: https://issues.apache.org/jira/browse/CAY-1574
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 3.0.1
>         Environment: All.
>            Reporter: Michael Gentry
>            Priority: Minor
>
> When entering an Embeddable in Cayenne Modeler:
> If on the ObjEntity/Attribute tab, you add an attribute and type in the ObjAttribute
and Java Type directly, the project will fail to validate with a missing DbAttribute error.
> If on the ObjEntity/Attribute tab, you add an attribute and then inspect the new attribute
and select the Embeddable from the pulldown of types, the project will pass validation.
> The model/XML is actually different between the two options (the first shown here is
when doing it the "correct" way):
> mrg@apad:~/Projects$ diff WobberyDomainMap.map.xml*
> 88c88
> < 		<embedded-attribute name="settings" type="net.wobbery.entity.MatchSettings"/>
> ---
> > 		<obj-attribute name="settings" type="net.wobbery.entity.MatchSettings"/>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message