cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Becker <>
Subject Re: "Has no joins" warning; path not available in ObjEntity Inspector dialog
Date Thu, 25 Aug 2011 18:21:42 GMT
Nevermind, I was doing it incorrectly: i hadn't used the inspector on the
entity table, and couldn't because the button was disabled, until i selected
a target first. i found out the correct steps for creating relationships by
following the mapping tutorial:
(As I figure things out I'm taking notes on the correct steps for creating a
complete successful mapping in the modeller, so that I don't forget.)

On Thu, Aug 25, 2011 at 10:55 AM, Andrus Adamchik <>wrote:

> To answer this question we need to see the data map XML. Could you paste it
> to a reply message?
> On Aug 25, 2011, at 6:48 PM, Joel Becker wrote:
> > Hi. When Cayenne Modeller validates my mapping, i get several "...has no
> > joins" warnings for different entities. I found this thread on the issue
> > which suggests using the ObjEntity Inspector
> >
> >
> > In the entity the "Database Mapping" icon (which i assume is the
> "inspector"
> > for entities) is disabled, so I go to the entity's corresponding object
> and
> > open the inspector for the corresponding relationship. When I go to
> select
> > the path to the target object, the object is unavailable in the path
> lists
> > at the bottom of the dialog. How does the dialog choose which paths to
> > include? (I couldn't find any documentation on using that dialog, except
> for
> > the page on flattening many-to-many relationships.)
> >
> > Regardless of the path selector at the bottom of the dialog, it already
> has
> > the correct Target selected in the drop-down combo box, so i click done,
> but
> > still get the warning. I also verified that the related entity has the
> other
> > side of the relationship (to many).

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message