Hibernate/Spring DAO: store data in a table
I am new to spring/hibernate. I have a web application in which I have an employee details page wherein an employee enters his details. My application is based on struts framework and I am using hibernate and spring DAO for data manipulation. I am using MySQL database.
Can anyone help me, how can I store the values entered in the employee details page to the employee table using Hibernate and Spring DAO. A sample piece of code would be appreciated.