code: public void afterStatementCreate(java.sql.Statement stmt) throws PlatformException
      {
          super.afterStatementCreate(stmt);
  
          // Check for OracleStatement-specific row prefetching support
          final Method methodSetRowPrefetch;
          methodSetRowPrefetch = ClassHelper.getMethod(stmt, "setRowPrefetch", PARAM_TYPE_INTEGER);
  
          final boolean rowPrefetchingSupported = methodSetRowPrefetch != null;
          if (rowPrefetchingSupported)
          {
              try
              {
                  // Set number of prefetched rows
                  methodSetRowPrefetch.invoke(stmt, PARAM_ROW_PREFETCH_SIZE);
              }
              catch (Exception e)
              {
                  throw new PlatformException(e.getLocalizedMessage(), e);
              }
          }
      }
docs: Enables Oracle row prefetching if supported.
  See http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/RowPrefetchSample/Readme.html.
  This is RDBMS server-to-client prefetching and thus one layer below
  the OJB-internal prefetching-to-cache introduced in version 1.0rc5.
  @param stmt the statement just created
  @throws PlatformException upon JDBC failure