code: public <T> RowMapper<T> getSingleColumnRowMapper(Class<T> requiredType){
  		return new RowMapper<T>() {
  			
  			@Override
  			public T map(ResultSet rs) throws SQLException {
  				return (T) rs.getObject(1);
  			}
  		};
  	}
docs: A {@link RowMapper} that returns the object contained in the first field.