This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to integrate vaadin with hibernate and spring. Data is getting persisted for the first time when I run my application. But second time when I run the application, data gets deleted from DB(mysql) table. Please help me to solve the issue.
Following is all related code:-
Domain class user
Spring config. file(applicationContext class)
Vaadin main class
Please provide some input to solve this issue.I am using hibernate version 3.6.0 and Spring version 3.0.4 and MySQL as Database.