	public List<NameNumberXml> lookupMemberById(@QueryParam("q") String q) {
		List<NameNumberXml> results = em
				.createQuery(
						"select new com.laurinka.skga.server.rest.model.NameNumberXml(m.name2, m.nr) from SkgaNumber m "
								+ "where m.name2 is not null "
								+ "and m.name2 like :name" + " order by m.nr desc", 
						NameNumberXml.class)
				.setParameter("custName", "%" + q + "%").setMaxResults(10)
				.getResultList();
		return results;
	}

	public List<NameNumberXml> lookupMemberById(@QueryParam("q") String q) {
		List<NameNumberXml> results = em
				.createQuery(
						"select new com.laurinka.skga.server.rest.model.NameNumberXml(m.name2, m.nr) from SkgaNumber m "
								+ "where m.name2 is not null "
								+ "and m.name2 like :name" + " order by m.nr desc", 
						NameNumberXml.class)
				.setParameter("name", "%" + q + "%").setMaxResults(10)
				.getResultList();
		return results;
	}
