code: @Override
      public void setStatement(Statement statement, QueryParameters params) throws SQLException {
  
          // setting in parameters
          super.setStatement(statement, params);
  
          if (statement instanceof CallableStatement) {
  
              // registering out parameters
              CallableStatement callStmt = (CallableStatement) statement;
  
              String parameterName = null;
              for (int i = 0; i < params.orderSize(); i++) {
                  parameterName = params.getNameByPosition(i);
  
                  if (params.isOutParameter(parameterName) == true) {
                      callStmt.registerOutParameter(i + 1, params.getType(parameterName));
                  }
              }
          }
      }
docs: {@inheritDoc}