Steps to Reproduce:
Expected Results:
Respective table data should be purged as per configured values.
Actual Results:
Job runs but records in poll_details table are not purged. Below error can be seen in jobs.log. Complete logs attached.
ERROR 2025-03-21 11:00:00,290 [-1379664529 | jobs | | | {}][(connectall-flows) thread #92 - JmsConsumer[jobQ]] com.go2group.connectall.housekeeping.DBDataHouseKeeper: Exception occurs while executing the purge query delete from poll_details where poll_details_id not in (select distinct p.poll_details_id from poll_details p, record_transaction_details r where p.poll_details_id = r.poll_id) and polled_time < ? due to java.sql.SQLException: You can't specify target table 'poll_details' for update in FROM clause
3.7.x
DE168102
Investigation Underway