Implemented optimistic transaction control in OdbcStore.