Re: updating objects

Armin Waibel <[email protected]> Sat, 05 Apr 2008 18:49:12 +0200
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
Hi Abid,

Abid Hussain wrote:
> Hi everybody,
> 
> I've a table with quite a lot of columns. When using 
> broker.update(object) all columns are updated. Is there a way to only 
> update the columns which actually changed? I'm looking for something 
> like UPDATE MyTable SET MyTableColumn = <new_value> WHERE ID=xxx.
> 
> Anyone got an idea?

Sorry, with the current version of OJB this is not possible (next major 
version will support this).

regards,
Armin


> 
> Regards,
> 
> Abid
> 
>