Commit sql statements. Changing datasource.