On Jan 2, 2014, at 4:47 PM, Mike Kienenberger <[email protected]> wrote:
> But even without the runtime relationships, we still have a > over-zealous fetching algorithm. If I get a chance, I'll try looking > into it again to see what is triggering it. This was another thing I was going to comment on. Older Cayenne was much more naive about returning a HOLLOW object without checking whether such object is present in the DB or not. As we went on fixing various bugs coming from it, it became “over-zealous” and more correct. Check DataDomainQueryAction.interceptRelationshipQuery, and specifically relationship.isSourceDefiningTargetPrecenseAndType call in it. Andrus
