public T findSingleByQuery(String queryString, Object... params) {
		TypedQuery<T> query = entMgr.createQuery(queryString, getEntityType());
		
		for(int i = 0; i < params.length; i++) {
			//Queries are 1 indexed
			query.setParameter(i+1, params[i]);
		}
		List<T> resultList = query.getResultList();
		if(resultList.isEmpty()) {
			return null;
		}
		return resultList.get(0);
	}