Examples of MBArtistRowMapper


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

  public MBArtist getArtist(int artistId) {
    return jdbcTemplate.queryForObject(
      "select a.id, a.artist_name_capitalization, mba.mbid, mba.country_code,"
      + " mba.start_year, mba.active from music.mb_artist mba"
      + " inner join music.artist a on mba.artist_id = a.id"
      + " where a.id = " + artistId, new MBArtistRowMapper());
  }
View Full Code Here

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

      + " left outer join library.webservice_history h on h.artist_id = ma.id"
      + " and h.calltype_id = %d where "
      + " age(coalesce(invocation_time, to_timestamp(0))) > '%d days'::interval"
      + " limit 3000",
      MB_RELEASE_GROUPS.getDatabaseId(), MB_RELEASE_GROUPS.getDaysToCache()),
      new MBArtistRowMapper());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.