code: public <T> T toBean(QueryParameters params, Class<T> type) throws MjdbcException {
          T result = null;
          int[] columnToProperty = null;
  
          if (params != null) {
              PropertyDescriptor[] props = MappingUtils.propertyDescriptors(type);
  
              columnToProperty = this.mapColumnsToProperties(params, props);
              result = this.createBean(params, type, props, columnToProperty);
          }
  
          return result;
      }
docs: {@inheritDoc}