Thanks Kris for looking into this. Please find attached project source code. I am running the "JPAPersistProcessTest.java" program. once the process is completed successfully, i am terminating the program and relaunching it. once we relaunch the program, it is creating task for a prior session.