Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public Certificate getCertificateById(int certificateId) {
  2. String query = "SELECT certification_id, user_id, certification_date, course_name, language "
  3. + "FROM Certificate WHERE certification_id =:certificateId";
  4. return jdbcTemplate.queryForObject(query,
  5. new MapSqlParameterSource("certificateId", certificateId), new CertificateRowMapper());
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement