fixed automatic transaction generation in BATCH mode for external tables
- added missing file from previous commit