Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Question on BeanUtils.Copy Properties

693229May 13 2009 — edited May 14 2009
Hi ,

I am working on ADF11g and I have a Question on using BeanUtils.copyproperties.
I am using this to copy a Database record to the DTO. I have a attribute Date Type in Database.
Whenever I get a null value for the date and try to copy to DTO, it throws me some conversion error as follows.

org.apache.common.beanutils.ConversionException: No value specified for 'Date'
org.apache.common.beanutils.converters.AbstractConverter.handlemissing

Is there a way to copy a date with null value to my DTO?

Pls help me.
Thanks,
Melissa

Edited by: user10942366 on May 13, 2009 11:36 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2009
Added on May 13 2009
1 comment
1,051 views