Hi Frank,

I don't have any handy code to do this at the moment, but the approach I
would take is to write a utility method to dump the model's
source/destination relationship information immediately after loading the
model into memory.  Then, when you get the validation exception, you can
reference that data dump for assistance.

mrg

PS. What version of Cayenne?


On Wed, Mar 16, 2016 at 3:12 PM, Frank Herrmann <
frank.herrm...@modernizingmedicine.com> wrote:

> Hello all,
>
> We have a developer here that recently asked for my help and told him I'd
> reach out. He is getting a validation failure error on a runtime
> relationship (specifically runtimeRelationship725). As these are created
> during runtime, he is setting a break point in the code at the commit to
> try and figure out what object this runtime relationship is attached to. My
> question is, is there an easy way to pinpoint what object this relationship
> is attached to, or what relationship it is reversing so he can troubleshoot
> the validation error?
>
> Thanks,
>
> -Frank
>
> --
> FRANK HERRMANN
> SOFTWARE ENGINEER
>
> T: 561-880-2998 x1563
>
> E: frank.herrm...@modmed.com
>
>
>
> [image: [ Modernizing Medicine ]] <http://www.modmed.com/>
> [image: [ Facebook ]] <http://www.facebook.com/modernizingmedicine>
> [image:
> [ LinkedIn ]] <http://www.linkedin.com/company/modernizing-medicine/>
> [image:
> [ YouTube ]] <http://www.youtube.com/user/modernizingmedicine> [image: [
> Twitter ]] <https://twitter.com/modmed_EMA> [image: [ Blog ]]
> <http://www.modmed.com/BlogBeyondEMR> [image: [ Instagram ]]
> <http://instagram.com/modernizing_medicine>
>

Reply via email to