I wonder if this has anything to do with what Joe Germuska explained
in a different thread:

"This is because the BeanUtils library *does* register a standard
converter for java.sql.Timestamp (as well as java.sql.Time and
java.sql.Date) but *does not* register a standard converter for
java.util.Date.

This is because there is a single specified String format for the SQL
classes, while there is no String format which BeanUtils could safely
assume for converting java.util.Date to and from a String
representation.

If you want to use java.util.Date as a property and have BeanUtils do
conversions for you, you must register a Converter.  See
http://jakarta.apache.org/commons/beanutils/ for more information."


On Tue, 22 Feb 2005 16:34:22 -0600, Lee Harrington <[EMAIL PROTECTED]> wrote:
> I have a date field:  lastModDate
<snip/>
> org.apache.commons.beanutils.ConversionException: Cannot assign value
> of type 'java.lang.String' to property 'lastModDate' of type
> 'java.util.Date'
<snip/>

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

Reply via email to