Re: Cayenne 4.2 and 'To Dep PK' direction

Andrus Adamchik <[email protected]> Wed, 7 Jun 2023 17:25:05 +0200
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
Hi Tore,

I wonder what type of errors are you getting due to that?

Andrus 

> On Jun 7, 2023, at 12:26 AM, Tore Halset <[email protected]> wrote:
> 
> Hello.
> 
> Trying to upgrade an old large app from cayenne 4.1.1 to 4.2. We get lots of test fails with cayenne 4.2. Every fail so far has been that our model has "To Dep PK" set the wrong way in our model.
> 
> Can it be that Cayenne 4.2 is more strict on having "To Dep PK" the correct way than 4.1.1 was?
> 
> Luckily we have pretty good test coverage on this and I am happy to fix those wrong "To Dep PK"s in our model, but this might be something to look out for for others as well.
> 
> Regards,
> Tore Halset.