Maybe it's easier to create a dummy partner so that the
relationship is not null.
That'll probably work too.
Andrus
On Jun 22, 2006, at 10:54 PM, Lothar Krenzien wrote:
Hi Andrus,
thanks a lot for your answer ! I think it's clear now.
Maybe it's easier to create a dummy partner so that
Hi,
I have a web app with struts and get very often a FaultFailureException in
cayenne (RC1). Either with the text state=hollow or state=transient. It
happens often after editing some data in the frontend, save and commit it and
try to load the previous saved data. And when the error occurs I
Yeah, I have your DataMap file. I'll investigate what's going on.
Andrus
On Jun 22, 2006, at 6:47 PM, Lothar Krenzien wrote:
Hi,
I have a web app with struts and get very often a
FaultFailureException in cayenne (RC1). Either with the text
state=hollow or state=transient. It happens
I think I might know the cause.
tblPerson - tblPartner relationship is a one-to-one where one side
is not a PK (tblPartner.personId). IIRC we had unresolved Jira issue
(s) related to nullable unique to-one FK (unique implies that the
relationship that looks like one-to-many is in fact
Hi Andrus,
thanks a lot for your answer ! I think it's clear now.
Maybe it's easier to create a dummy partner so that the relationship is not
null.
Lothar
I think I might know the cause.
tblPerson - tblPartner relationship is a one-to-one where one side
is not a PK
Most likely cause is a referential integrity problem - you have an FK
with no matching PK. Can happen on databases with no referential
constraints support (MySQL MyISAM) or when a DBA didn't bother to
define constraints, but there can be other reasons why data can go
bad. Likely not
The problem went away with the solution for my previous post.
Lothar
-Ursprüngliche Nachricht-
Von: cayenne-user@incubator.apache.org
Gesendet: 13.06.06 14:31:07
An: cayenne-user@incubator.apache.org
Betreff: Re: FaultFailureException
Most likely cause is a referential integrity