+" agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE agd.language_id = ?";
//sortedKeys={"agd.name", "ag.sort_order"}
QueryBean query = createPaginationQuery(sql, pageParam);
query.addParameters(languageId);
return getJdbcOperations().query(query.getSql(),
query.getParameters(), new AttributeGroupRowMapper(){
@Override
public AttributeGroup mapRow(ResultSet rs, int rowNum)
throws SQLException {
AttributeGroup attrGrp = super.mapRow(rs, rowNum);
attrGrp.setName(rs.getString("name"));