fixed automatic transaction generation in BATCH mode for external tables