db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak" <tom...@gmail.com>
Subject Re: ddlutils easier update possible?
Date Fri, 02 May 2008 04:29:11 GMT
On Wed, Apr 30, 2008 at 1:14 PM, tyju tiui <jckdnk111@yahoo.com> wrote:

>  I'm curious to know if there is an easier way to issue a platform.update()?
>  Currently I have to fetch all of the values into a DynaBean and then update the values
in the DynaBean before issuing my update to ensure I don't lose any data.
>  I'd like to just to a database.createDynaBeanFor(), assign the correct primary key and
whatever value I want to update to do my update.
>  The problem is when I try to do this any value I don't set in the DynaBean gets set
to NULL in the database.
>  So I have to waste a call to the db to fill a DynaBean before I can update the record.
>  Is there a better way?

Sorry, not at the moment (though feel free to file an issue in JIRA).


View raw message