HHH-7984 Handle Oracle statements on release