Re: Multiple relationships from inheritance tree

2016-07-28 Thread Andrus Adamchik
Yeah, this should be fine. > On Jul 28, 2016, at 3:55 PM, Ken Anderson wrote: > > Andrus, > > What’s the correct version of the relationship? I’m happy to do it manually > as opposed to syncing it. Should we just have a relationship to the base > class? > > Ken > > Ken Anderson > CTO Am

Re: Multiple relationships from inheritance tree

2016-07-28 Thread Ken Anderson
Andrus, What’s the correct version of the relationship? I’m happy to do it manually as opposed to syncing it. Should we just have a relationship to the base class? Ken Ken Anderson CTO Amphora, Inc. Mobile: +1 914 262 8540 www.amphorainc.com On 7/27/16, 3

Re: Multiple relationships from inheritance tree

2016-07-27 Thread Andrus Adamchik
This is a known bug, and we already had a fix pending review: https://issues.apache.org/jira/browse/CAY-2070 https://github.com/apache/cayenne/pull/92 So I did just that. It fixes the problem in my tests. Also note that it explicitly disables sync button for subentities, as it can't be made to

Multiple relationships from inheritance tree

2016-07-13 Thread Ken Anderson
Hello list! I have a question about how/why something happens in the Cayenne Modeler (4.0M3). When I have a DBEntity with a relationship to a super-entity and I sync it with its ObjEntity, the ObjEntity gets a relationship for every potential class under (and including) the target DBEntity’s O