0 Replies Latest reply: Apr 11, 2008 2:25 AM by 843804 RSS

    copying properties


      I have 2 java beans, with same property names. I want to copy the data from one bean to another, for that i am using

      beanUtills.copyProperties(destBean, sourceBea);

      There is a problem with this method, It is doing type conversion, of the data fo the properties.

      In the source bean i have a property of type Character with a value of 'null', after doing the copy, in the destBean, it is stored as blank ''.

      What i want is to copy exactly, no need for conversions.

      any suggestions will be appriciated...