private static void convert() {
		// create DBManagers for input and output
		inputDBM = new DBManager(inputdbPath);
		outputDBM = new DBManager(outputdbPath);

		// get regests from database
		List<classtypes.Regest> regestListOld = inputDBM.getResultList(
				"SELECT r FROM Regest r", classtypes.Regest.class);

		// process every old regest
		for (classtypes.Regest regestOld : regestListOld) {
			// create new regest
			de.regestanalyser.classtypes.Regest regestNew = new de.regestanalyser.classtypes.Regest(
					regestOld.getId());
			regestNew.setClassification(regestOld.getClassification());

			// process People
			if (regestOld.getPeople() != null)
				for (classtypes.Person personOld : regestOld.getPeople()) {
					de.regestanalyser.classtypes.Person personNew = new de.regestanalyser.classtypes.Person();
					personNew.setFirstname(personOld.getFirstname());
					personNew.setSurname(personOld.getSurname());
					personNew.setMaidenname(personOld.getMaidenname());
					personNew.setTitle(personOld.getTitle());
					for (String otherName : personOld.getOtherNames())
						personNew.addOtherName(otherName);
				}

			// process content
			if (regestOld.getContent() != null)
				for (String content : regestOld.getContent())
					regestNew.addContent(content);

			// process other
			if (regestOld.getOther() != null)
				for (Serializable serial : regestOld.getOther())
					regestNew.addOther(serial);

			// persist new regest
			outputDBM.persist(regestNew);
		}

		// every regest should be converted => closing DBManagers
		inputDBM.closeDB();
		outputDBM.closeDB();
	}