public void create(T entity) throws DatabaseException, TechnicException{
		try {
			em.getTransaction().begin();
			em.persist(entity);
			em.getTransaction().commit();
		} catch(Exception e) {
			if(e instanceof EntityExistsException) {
				throw new DatabaseException(dbName, "MySQL", "Entity is already existed");
			} else if(e instanceof TransactionRequiredException) {
				throw new DatabaseException(dbName, "MySQL", "Transaction fehlt");
			} else {
				throw new TechnicException();
			}
		}
	}