Hi Cameron
Yes, that is right.
but i have four POJO (Customer, Product, License & Transaction) which have relationship with each other, each POJO contains 10 to 15 fields. and i have a single
JSP page from which i am getting all the information in one request or multiple Ajax request(in case of one to many relationship). So basically i have integrated
struts 2 and hibernate, so all of my form fields are automatically geting set in 4 pojo.
and in the case where i have one to many relationshio between i.e. in customer to products. i am making ajax call and saves all the product in HttpSession object. and finally on submit of JSP page i wanted to put all the POJOs to database.
And the way suggested by you, i have to do lot of getXXX and setXXX operations which is tedious as each pojo contains lots of fields.
Do i have any alternative ?
