Spark Jdbc Commit, "isolationLevel" option did the trick for me.