Re: FaultFailureException

2006-06-23 Thread Andrus Adamchik
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

FaultFailureException

2006-06-22 Thread Lothar Krenzien
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

Re: FaultFailureException

2006-06-22 Thread Andrus Adamchik
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

Re: FaultFailureException

2006-06-22 Thread Andrus Adamchik
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

Re: FaultFailureException

2006-06-22 Thread Lothar Krenzien
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

Re: FaultFailureException

2006-06-13 Thread Andrus Adamchik
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

Re: FaultFailureException

2006-06-13 Thread Lothar Krenzien
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