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

Reply via email to