public class PropertiesDAOImpl extends HibernateDaoSupport implements
PropertiesDAO {
@Override
public Properties createProperties(int role, int user, boolean value) {
Properties properties = new Properties(role, user, value);
return (Properties) getHibernateTemplate().save(properties);
}