[Bug] Fix "processInsertGetId" in a read/write connection:
- The "processInsertGetId" method call a select method in the read
machine, but this method execute an INSERT and SELECT at the same
time, which make that the query fails.