I spent almost half day fixing the similar issue. Turns out I didn't run the commit on the oracle database. This link helped me.