LPS-34882 BatchSessionImpl's delete logic is different from generated *PersistenceImpl.java