cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikita Timofeev <ntimof...@objectstyle.com>
Subject Re: Can't extract a master key error
Date Thu, 06 Feb 2020 11:48:20 GMT
Hi Andrew,

This exception means that Cayenne was unable to resolve some foreign
key referred to Address.id
because this primary key wasn't there at the referring entity commit time.

You could check if the Address entity commits ok. If it is then
something wrong with the relationship setup.
Though I'm not sure what that could be.

Hope this helps.


On Thu, Feb 6, 2020 at 2:48 AM Andrew Willerding
<awillerding@itsurcom.com> wrote:
>
> I have never come across this error before.
>
> 2020-02-05,18:45:23:149,ERROR,[http-nio-8080-exec-468],app,4FA39E6D::Database
> save error->->[v.4.1.RC2 Oct 25 2019 07:58:09] Can't extract a master
> key. Missing key (id), master ID (<ObjectId:Address,
> TEMP:000001BDF4F9150A>)**Exception==>org.apache.cayenne.CayenneRuntimeException:
> [v.4.1.RC2 Oct 25 2019 07:58:09] Can't extract a master key. Missing key
> (id), master ID (<ObjectId:Address, TEMP:000001BDF4F9150A>)
>
> What does it mean and how do I correct for it?
>
> Thanks,
>
> Andrew
>
>


--
Best regards,
Nikita Timofeev

Mime
View raw message