cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Herrmann <frank.herrm...@modernizingmedicine.com>
Subject Re: Tracking down a Runtime Relationship - Cayenne 3.1
Date Thu, 17 Mar 2016 13:02:02 GMT
Thanks. I passed this along to the developer. We are using version 3.1.

On Wed, Mar 16, 2016 at 6:29 PM, Michael Gentry <mgentry@masslight.net>
wrote:

> 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.herrmann@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.herrmann@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>
> >
>



-- 
FRANK HERRMANN
SOFTWARE ENGINEER

T: 561-880-2998 x1563

E: frank.herrmann@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>

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