You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Cadariu, Mihai" <Mi...@nl.compuware.com> on 2005/07/29 10:30:39 UTC

[BeanUtils] Merging beans

Hi,

I'm trying to merge properties of two beans. Namely, I want to copy only the
non-null properties from bean A into bean B.

I tried doing a describe(), filter out the null values, then populate() the
new bean, but the problem is I have indexed properties and they get messed
up.

Any help appreciated.

Thanks,
Mihai


-- 
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


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