Package com.github.hakko.musiccabinet.dao.jdbc.rowmapper

Examples of com.github.hakko.musiccabinet.dao.jdbc.rowmapper.TagNameCountRowMapper


    String sql = "select tag_name, tag_count"
      + " from " + topTagsTable + " att"
      + " inner join music.tag tag on att.tag_id = tag.id"
      + " where att.artist_id = " + artistId + " order by att.tag_count desc";

    return jdbcTemplate.query(sql, new TagNameCountRowMapper());
  }
View Full Code Here


        + " inner join music.tag t on att.tag_id = t.id"
        + " inner join library.toptag tt on tt.tag_id = t.id"
        + " where att.artist_id = " + artistId + " and tag_count > 0"
        + " order by att.tag_count desc limit " + limit;

    return jdbcTemplate.query(sql, new TagNameCountRowMapper());
  }
View Full Code Here

TOP

Related Classes of com.github.hakko.musiccabinet.dao.jdbc.rowmapper.TagNameCountRowMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.