Re: [DAS] Erroneous behavior when PK's value is updated using applyChanges()

2007-04-04 Thread Kevin Williams
I think allowing changes to PK columns would be a mistake. Brent Daniel wrote: Amita, I think we intended to not allow any updates to the primary key field. If we do want to allow this, I would suggest that the fix is to have the UpdateGenerator use the old value of the PK field for the where

Re: [DAS] Erroneous behavior when PK's value is updated using applyChanges()

2007-04-04 Thread Brent Daniel
Amita, I think we intended to not allow any updates to the primary key field. If we do want to allow this, I would suggest that the fix is to have the UpdateGenerator use the old value of the PK field for the where clause rather than the current value. That way you would get something like "upda

[DAS] Erroneous behavior when PK's value is updated using applyChanges()

2007-04-04 Thread Amita Vadhavkar
Hi All, In addition to the problem mentioned in below link, http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg16304.html Found one more issue when tried to have a PK on the same table OrderDetails{ORDER_ID, PRODUCT_ID, PRICE} , PK - ORDER_ID And update is attempted to update ORDER_ID to