@Override
	public void addSubProcess(ProductType productType, SubProcess subProcess) {
		productType.addSubProcess(subProcess);
		tx.begin();
		if (em.contains(subProcess)) em.merge(subProcess);
		else em.persist(subProcess);
		tx.commit();
	}