You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not exactly sure whether this is an issue or expected behavior. I didn't observe any error and I'm not an experienced Oracle dba. It just looks strange.
Steps to reproduce
run test should serialize LOBs when creating a record from #2203
Expected behavior
#write_lobs is called
TestEmployee Create (77.7ms) INSERT INTO "TEST_EMPLOYEES" ("FIRST_NAME", "LAST_NAME", "SIGNATURE", "ID") VALUES (:a1, :a2, :a3, :a4) [["first_name", "Peter"], ["last_name", "Doe"], ["signature", "cGV0ZXInc3NpZ25hdHVyZQ==\n"], ["id", 1]]
Writable Large Object (2.4ms) SELECT "SIGNATURE" FROM "TEST_EMPLOYEES" WHERE "ID" = 1 FOR UPDATE
I see that the write_lob hooks are only registered on UPDATE. Is there any special reason for that? What is the reason not to be registered on SAVE as well?
I'm not exactly sure whether this is an issue or expected behavior. I didn't observe any error and I'm not an experienced Oracle dba. It just looks strange.
Steps to reproduce
run test
should serialize LOBs when creating a record
from #2203Expected behavior
#write_lobs
is calledActual behavior
#write_lobs
is not calledSystem configuration
Rails version:
Same as test code in master.
Oracle enhanced adapter version:
Master branch.
Ruby version:
2.7.3p183
Oracle Database version:
19.3.0
The text was updated successfully, but these errors were encountered: