code: private <T> T createBean(ResultSet rs, Class<T> type,
                               PropertyDescriptor[] props, int[] columnToProperty)
              throws SQLException {
  
          T bean = this.newInstance(type);
          return populateBean(rs, bean, props, columnToProperty);
      }
docs: Creates a new object and initializes its fields from the ResultSet.
  
  @param <T>              The type of bean to create
  @param rs               The result set.
  @param type             The bean type (the return type of the object).
  @param props            The property descriptors.
  @param columnToProperty The column indices in the result set.
  @return An initialized object.
  @throws SQLException if a database error occurs.