我试着把它放在句子里,但给一个例子会更好:
SELECT * FROM someTable WHERE id = someID;
returns no rows
...
some time passes (no inserts are done to the table and no ID updates)
...
SELECT * FROM someTable WHERE id = someID;
returns one row!
有可能某些DB机制阻止第一个SELECT返回行吗?
Oracle log has no errors.
No transactions are rolled back when two selects are executed.