Reg. transaction support for a spring batch job at job level
问题 Lets assume that i need to execute a spring batch job with 2 steps.step 1 is to read data from a postgres table and update values in the same table. step 2 is to read data from another postgres table and update this table. How can i achieve transactions at job level for this scenario? That is, if the second step fails, then the first step should be rolled back. 回答1: i'm not sure if there even exists an solution with automatic chained/multi-level transaction handling that works reliable (or