public class SpecialityDAOImpl extends HibernateDaoSupport implements
SpecialityDAO {
@Override
public Speciality createSpeciality(String name, String number, int semester) {
Speciality spec = new Speciality(name, number, semester);
return (Speciality) getHibernateTemplate().save(spec);
}