I have an entity with relationships. I am trying to copy the properties from entity to my bean. I tried using BeanWrapperImpl but unable to get the list values, could copy only simple types. As per the below class i get only obj1 value but not obj2 which is inturn a list of other class objects. How can i get all the values into other bean at one go?
My class is something like below.
Class A{
String obj1;
List<Object2> obj2;
}
Aucun commentaire:
Enregistrer un commentaire