The code:
MyObject res; try { res = this.jdbcTemplate.queryForObject(STMT, new Object[] { param }, new MyRowMapper());