Fixed transaction processing logic (currently auto commit mode only)