Oracle lag between commit and select

前端 未结 8 1944
攒了一身酷
攒了一身酷 2020-12-29 12:00

We have an Java workflow application that uses an Oracle database to track its steps and interactions with other services. During a workflow run several insert/update/selec

8条回答
  •  情话喂你
    2020-12-29 12:13

    The code snippet didn't actually include the commit.

    If you are assuming/relying on the close connection doing the commit, it may not be synchronous (ie the java may report the connection as closed when it tells Oracle to close the connection, which means it may be before the the commit is completed by Oracle).

提交回复
热议问题