@Sanne if you start a tx with the transaction manager (the same instance used by the batch container) then batchContainer.getTransaction returns null (see BatchConatainer.getBatchTransaction). To back that I've also added a test that fails if we implement it that way.