+" cd ON (c.category_id = cd.category_id) WHERE cd.language_id = ? ORDER BY c.sort_order, cd.name ASC";
QueryBean query = createPaginationQuery(sql, pageParam);
query.addParameters(languageId);
List<Category> catList = getJdbcOperations().query(query.getSql(),
query.getParameters(), new CategoryRowMapper(){
@Override
public Category mapRow(ResultSet rs, int rowNum)
throws SQLException {
Category cat = super.mapRow(rs, rowNum);
cat.setName(getPath(cat.getId(), separator));