* Test of find method with JpqlQuery as parameter and scalar as result
*/
@Test
public void testJpqlQueryScalar() {
String queryString = "select o.code, o.text from Dictionary o where o.category = :category";
JpqlQuery query = new JpqlQuery(repository, queryString)
.addParameter("category", gender);
List<Object[]> results = repository.find(query);
for (Object[] row : results) {
System.out.println(Arrays.toString(row));
}