code: @Override
      public Object[] readStatement(Statement statement, QueryParameters params) throws SQLException {
          Object[] result = new Object[0];
  
          AssertUtils.assertNotNull(params);
  
          super.readStatement(statement, params);
  
          if (statement instanceof CallableStatement) {
  
              CallableStatement callStmt = (CallableStatement) statement;
  
              result = new Object[params.orderSize()];
  
              String parameterName = null;
              for (int i = 0; i < params.orderSize(); i++) {
                  parameterName = params.getNameByPosition(i);
  
                  if (params.isOutParameter(parameterName) == true) {
                      result[i] = callStmt.getObject(i + 1);
                  } else {
                      result[i] = null;
                  }
              }
          }
  
          return result;
      }
docs: {@inheritDoc}