*/
@Test
public void testSqlQueryFindWithMapParameters() {
String sql = "select * from dictionaries as o where o.is_disabled = :disabled "
+ "and o.category_id = :categoryId order by o.sort_order";
SqlQuery query = new SqlQuery(repository, sql)
.addParameter("categoryId", gender.getId())
.addParameter("disabled", false)
.setResultEntityClass(Dictionary.class);
List<Dictionary> results = repository.find(query);
assertTrue(results.contains(male));