protected void addBackupsToBackupRequestBuffer(FbService service,ServiceRequestBuffer backupSPB) throws SQLException {
  for (Iterator<PathSizeStruct> iter=backupPaths.iterator(); iter.hasNext(); ) {
    PathSizeStruct pathSize=iter.next();
    backupSPB.addArgument(isc_spb_bkp_file,pathSize.getPath());
    if (iter.hasNext() && pathSize.getSize() == -1) {
      throw new SQLException("No size specified for a backup file " + pathSize.getPath());
    }
    if (iter.hasNext()) {
      backupSPB.addArgument(isc_spb_bkp_length,pathSize.getSize());
    }
  }
}

protected void addBackupsToBackupRequestBuffer ( FbService service , ServiceRequestBuffer backupSPB ) throws SQLException { for ( Iterator < PathSizeStruct > iter = backupPaths . iterator ( ) ; iter . hasNext ( ) ; ) { PathSizeStruct pathSize = iter . next ( ) ; backupSPB . addArgument ( isc_spb_bkp_file , pathSize . getPath ( ) ) ; if ( iter . hasNext ( ) && pathSize . getSize ( ) == - 1 ) { throw new SQLException ( "No size specified for a backup file " + pathSize . getPath ( ) ) ; } if ( iter . hasNext ( ) ) { backupSPB . addArgument ( isc_spb_bkp_length , pathSize . getSize ( ) ) ; } } }
adds the currentdatabase as a source for the backup operation
