commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: BeanUtils: dirty checking
Date Wed, 05 Mar 2008 15:41:15 GMT
On Wed, Mar 5, 2008 at 3:33 PM, Paul Benedict <pbenedict@apache.org> wrote:
> This question is about BeanUtils 1.8.
>
>  Does any functionality exist to compare two beans of the same type to
>  determine whether (a) it is dirty and (b) a list/set of differences of
>  properties?

Not at the moment, but I think theres an open JIRA ticket for this
kind of thing somewhere:

http://commons.apache.org/beanutils/issue-tracking.html

I have a "modified lazy DynaBean" implementation that can track
changes (you switch on/off the tracking as required) and you can get a
list of modified properties and their current and original values.
Works pretty well for us

Niall

>  Paul
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message