public class ReportsDAOImpl extends HibernateDaoSupport implements ReportsDAO {
@Override
public Reports createReports(int plan, Timestamp time, String type) {
Reports reports = new Reports(plan, time, type);
return (Reports) getHibernateTemplate().save(reports);
}