JBTM-1374 need to commit the transaction between the select for update and the insert