I don't see how would a MutableDynaClass help you with the problem?
Can't you just change the getter/setter of your DTO?

Regards,
Daniel

-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 4:39 AM
To: [EMAIL PROTECTED]
Subject: MutableDynaClass question


Hi all,
            I am trying to use some of beanutils package classes for
getting]
Data from a database (I plan to use the ResultSetDynaClass as well as
MutableDynaClass . I have
Some DTOs to populate and some of the methods don't match exactly the
column name..)

But I read in the APIDOC following

WARNING - No guarantees that this will be in the final APIs ... it's
here primarily to preserve some concepts that were in the original
proposal for further discussion.

So, are there any news about that? If this interface is not going to be
in th final API, is there a way (other
Than hardcoding) that I can populate a DTO from a DynaBean obtained from
ResultSetdynaClass where
The column name is different from the DTO method (e.g.  setContactRef
for column contact_ref)?

Thanx in advance and regards
            marco


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to