I'm using OracleDB with TypeORM on Sveltekit.
I want to SELECT records that were updated before commit in the same transaction. However, regardless of whether the transaction ISOLATION LEVEL is set to SERIALIZABLE or READ COMMITTED, the records that can be retrieved by SELECT will be old records.
SELECT is running immediately after UPDATE in TypeORM's SQL log.
I can select correctly if I do an explicit commit after the update.
How can I retrieve the last written record?