add restartPosition to ddl and sql statements, and save restartPosition from JobExecution for restart.