Execute insert in such a way that it does not autocommit