Refactor the plugin
move the logic for the dataconnection object in the executesqlbatch only.