public class StudentDAOImpl extends HibernateDaoSupport implements StudentDAO {
@Override
public Student createStudent(Date acceptanceDate, Date deductionDate,
int group, String number, int person, String testBook) {
Student student = new Student(acceptanceDate, deductionDate, group,
number, person, testBook);
return (Student) getHibernateTemplate().save(student);
}