We started a new project and we use Struts, Springs and Hibernate. I have a problem with inserting data in my SQL server. When i hit the save button the records get inserted (in 11 tables). But when i restart my tomcat server data inserted in 8 tables lost. i.e gets deleted. Still i didn't use transactions. We are using two techniques here.
1. We write a common DAO implementation. For each bean we have dao interface but have only one implmentation class for all beans.
2. We delegate action management to Springs.