public Department createDepartment(String departmentName)
	{
		try
		{
			begin();
			Department dep = new Department(departmentName);
			manager.persist(dep);
			commit();
			return dep;
		}
		catch(PersistenceException e)
		{
			e.printStackTrace();
			rollback();
			throw e;
		}
	}