I need to store Job ExecutionId as one of the fields of Entity. (I am using JpaItemWriter) One of topic here explains from StepExcecution, I can get StepContext -> JobExecution.
If you want to use @BeforeStep in MyEntityProcessor you must declare it like a listener