Re: Trying to clear a dead-lock of some type
Re: Trying to clear a dead-lock of some type
- Subject: Re: Trying to clear a dead-lock of some type
- From: Sacha Mallais <email@hidden>
- Date: Thu, 19 May 2005 13:30:41 -0700
On May 19, 2005, at 1:06 pm, WebObjects wrote:
This is one error, a frustrating one. I'm locking the rows in the EO
model
in just about every possible way, including the Pkey. What's the real
secret to this one?
Hmm... I assume this means you are setting the locking attributes in
the model. These are for optimistic locking control, and will not
themselves cause a deadlock.
com.webobjects.eoaccess.EOGeneralAdaptorException:
updateValuesInRowDescribedByQualifier --
com.webobjects.jdbcadaptor.JDBCChannel: method updated 2 rows, it is
only
permitted to update 1 row
This indicates, as the message says, that you have 2 rows with the same
values (the same values, that is, for those attributes you have marked
as locking attributes in the model). This means that either you have
deselected the PK from the locking attributes or your database is
corrupted (the PK is not the PK, since you obviously cannot have 2
identical PKs).
sacha
--
Sacha Michel Mallais - 400 lb. chimp
Global Village Consulting Inc.: http://www.global-village.net/
Choke on that, causality! -- the Professor, "Futurama"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden