Spark Jdbc Transaction. This functionality should be preferred over using Step 3 – Query JD