set autocommit to false to enable roolback