trying to use BeanUtils.copyProperties from one pojo to a new instance of the pojo but it always fails when it hits a Double. works fine when the the list displayed. don't understand why it works in ConvertUtils but not when I call it directly.

keep getting java.lang.IllegalArgumentException: argument type mismatch
right after the BeanUtils log entry for converting the Double.

what am I missing?



Fred Forester wrote:

Hi All,

Im an trying to insert a new record into a table where the new record is basically a clone of an existing record. I tried just setting the key field to null and calling save but hibernate complains that the key has been changed. what's the proper way to handle this?

Thanks
Fred

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




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

Reply via email to