It is not required to use the forUpdate query hint. You can also tell the buffer directly, i.e. salesTable.selectForUpdate(true); and it will also work. The code sample I suggested would tell us that. Since I don't have access to all of the code, it's only a guess at this point.
↧