I've created one sample feedback form and i need to save the details into the table. For this, i wrote controller, in that I've written the logic like this,
Feedback feedBack = new FeedbackImpl();
feedBack.setName(feedbackForm.getName());
feedBack.setEmail(feedbackForm.getEmail());
feedBack.setMsg(feedbackForm.getMsg());
feedBack = feedbackService.save(feedBack);
and in service class, i used dao class save method, then in DAO class i used merge() method..
While running the ant task, no errors are coming, in front end form is submitted successfully..but the entered data are not getting saved into the table which is specified in the FeedbackImpl class.... I'm new to spring,hibernate etc.,..can anyone help me out this...?