Re: DAS] Are we assuming table undergoing update should have at least one PK?Or is this a bug?

2007-04-04 Thread Brent Daniel
Hi Amita, The table must have a primary key defined. We should be throwing an exception when an update attempt like this takes place. If you want to open a JIRA and fix this, that would be great. Thanks. Brent On 4/4/07, Amita Vadhavkar <[EMAIL PROTECTED]> wrote: Hi All, UpdateGenerator.getU

DAS] Are we assuming table undergoing update should have at least one PK?Or is this a bug?

2007-04-04 Thread Amita Vadhavkar
Hi All, UpdateGenerator.getUpdateCommand() - Here the logic to form update statement is such that for forming WHERE CLAUSE, it first iterates over PKs and then the columns which are undergoing changes. In case where, update is occurring on a table row which does not have a PK, the statement getti