You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/07/09 11:04:22 UTC

DO NOT REPLY [Bug 25539] - [beanutils]Using copyProperties and SQL Dates

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25539>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25539

[beanutils]Using copyProperties and SQL Dates

niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Using copyProperties and SQL|[beanutils]Using
                   |Dates                       |copyProperties and SQL Dates



------- Additional Comments From niallp@apache.org  2004-07-09 09:04 -------
Can you explain more what the problem is please - it looks fine to me.

Seems to me that your workaround involves fooling these converters into 
thinking they have a default value so that when they are passed a null or 
invalid value they return null rather than throwing a ConversionException.

Maybe you could explain the circumstances in a bit more detail - how you are 
using these converters when you copy a bean - you say you are copying a SQL 
Date - but looks to me like it must be null or invalid.

Thanks

Niall

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