public boolean exists(long id) throws DataAccessException {
   return (jdbcTemplate
           .queryForObject(getExistsSQL(), Integer.class, SqlValue.value(id))
           .intValue()
       > 0);
 }
 public int delete(long id) throws DataAccessException {
   return jdbcTemplate.update(getDeleteSQL(), SqlValue.value(id));
 }
 public T find(long id) throws DataAccessException {
   return jdbcTemplate.query(getFindSQL(), getResultSetExtractor(), SqlValue.value(id));
 }