2 Replies Latest reply on Aug 8, 2011 3:48 PM by Maris

    BeanUtils Preserving Object Type


      I am running into an issue and would appreciate if someone pointed me in the right direction.

      I am using commons beanutils. My goal is to take an arbitrary POJO and turn it into a Map.
      I am using BeanUtils.describe(), but it looks like all the values from the pojo return as strings, whereas I need them to preserve the type, or get wrapped if they are primitives.

      If someone can point me in the right direction it would be greatly appreciated.