On Wed, Apr 30, 2008 at 1:14 PM, tyju tiui <[EMAIL PROTECTED]> 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). Tom
