extract Insert query as well
extract Insert query as well
integration test for MySQLPersistence
removed duplication
cleanup
optimistic concurrency control