0 Replies Latest reply on Apr 11, 2008 7:25 AM by 843804

    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...