posted 11 years ago
Hi,
I want to insert data in two tables the corresponding pojo classes are mypojo1 and mypojo2. my code and problem is like bellow.
if second saveOrUpdate() method is failed i want to rollback first mypojo1 data insertion also. how can i achieve this with the
HibernateTemplate.
if any one know the solution please post..
Thanks,
Praneeth.