commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gao Di <jaoy...@yahoo.com.cn>
Subject [Beanutils]How to copy beans with different property type
Date Wed, 16 Nov 2005 16:15:36 GMT
I have 2 javabeans, they have same property name, but
the property type are different, such as:
String starttime;
another is TimeStamp startime
so i want to know if i can use Beanutils to do the
copy thing?
I have tried PropertyUtils.copyProperties method, but
i got argument type mismatch error, anyone tell me how
to do, thanks.


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
http://uk.security.yahoo.com

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


Mime
View raw message