commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Mistroni" <mmistr...@waersystems.com>
Subject wrap a Map into a DynaBean
Date Fri, 30 Apr 2004 08:03:47 GMT
Hi all,
	Is there any way, using beanutils package, to 'wrap' a Map
Into a DynaBean or something similar? 
>From errors that I have, answer is no, but maybe some of you know
Some alternatives..
Issue is that I am receiving different objects from my db layer, and
I am wrapping them into a DynaBean to avoid calling specific methods
For retrieving properties.
But in one case out of 10 I am receiving an HashMap, and it looks like
I cannot wrap an HashMap with a DynaBean

Anyone has any suggestions?

Thanx in advance and regards
	Marco



---------------------------------------------------------------------
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