code: public int getBatchSize()
      {
          if (isBatch())
          {
              String batchSize = getProperty(PersistenceProperties.KUNDERA_BATCH_SIZE);
              int batch_Size = Integer.valueOf(batchSize);
              if (batch_Size == 0)
              {
                  throw new IllegalArgumentException("kundera.batch.size property must be numeric and > 0");
              }
              return batch_Size;
          }
  
          return 0;
      }
docs: Return batch.size value.
  
  @return integer value for batch size.