anchor.diff:  [subs="verbatim,quotes"]
   ----
   	public class JdbcActorDao implements ActorDao {
  +
   		private JdbcTemplate jdbcTemplate;
   
   		public void setDataSource(DataSource dataSource) {
  
positive.code: All of the above batch update methods return an int array containing the number of
  affected rows for each batch entry. This count is reported by the JDBC driver. If the
  count is not available, the JDBC driver returns a -2 value.
  
  
  [[jdbc-batch-multi]]
  
negative.code: 		}
  
  		public int[] batchUpdate(final List<Actor> actors) {
  			return this.jdbcTemplate.batchUpdate(
  					"update t_actor set first_name = ?, last_name = ? where id = ?",
  					new BatchPreparedStatementSetter() {
  						public void setValues(PreparedStatement ps, int i) throws SQLException {
  							ps.setString(1, actors.get(i).getFirstName());
  							ps.setString(2, actors.get(i).getLastName());
  							ps.setLong(3, actors.get(i).getId().longValue());
  						}
  						public int getBatchSize() {
  							return actors.size();
  						}
  					});
  		}
  
  		// ... additional methods
  