LobCacheMode: OnLoad, OCI 21.7 fails to load CLOBs
Posted: 16.12.2022, 12:44
Probably this is going to be a driver issue, as opening the exact same resultset on the exact same machine using the exact same settings, but using OCI 19.8 loads everything perfectly. The new version also loads all data correctly, if LobCacheMode is None.
I just would like to leave it here as it seems either Oracle did it again and shipped a faulty driver, or maybe they changed something which makes Zeos incompatible.
I just would like to leave it here as it seems either Oracle did it again and shipped a faulty driver, or maybe they changed something which makes Zeos incompatible.
After this even disconnecting the connection will go in an endless loop, and the usual error pops up when you try to free it:EZSQLException was raised with the message SQL Error: ORA-01013: user requested cancel of current operation
Code: 1013 SQL: OCILobClose
Stack trace:
01638b15 Project1.exe ZDbcOracle 1388 TZOracleConnection.HandleErrorOrWarning
0160bfdc Project1.exe ZDbcOracleResultSet 2854 TZAbstracOracleLobStream.Close
0160c879 Project1.exe ZDbcOracleResultSet 2963 TZAbstracOracleLobStream.Destroy
00dee775 Project1.exe System TObject.Free
01393b5e Project1.exe ZDbcResultSet 4595 TZCodePageConversionStream.Destroy
01610213 Project1.exe ZDbcOracleResultSet 3945 TZOracleRawMultibyteStream32.Create
0160edde Project1.exe ZDbcOracleResultSet 3543 TZOracleClob.CreateLobStream
01394303 Project1.exe ZDbcResultSet 4771 TZAbstractLob.GetStream
0138e0b6 Project1.exe ZDbcResultSet 1696 TZLocalMemCLob.CreateFromClob
0139e1d1 Project1.exe ZDbcCache 1302 SetAsCachedLob
0139e330 Project1.exe ZDbcCache 1309 InternalSetLob
0139e926 Project1.exe ZDbcCache 1370 TZRowAccessor.FillFromFromResultSet
013b7184 Project1.exe ZDbcCachedResultSet 2616 TZCachedResultSet.Fetch
013b7b86 Project1.exe ZDbcCachedResultSet 2882 TZCachedResultSet.MoveAbsolute
01390ae4 Project1.exe ZDbcResultSet 2649 TZAbstractResultSet.Next
016f0df9 Project1.exe ZAbstractRODataset 2130 TZAbstractRODataset.FetchOneRow
016f0d01 Project1.exe ZAbstractRODataset 2106 TZAbstractRODataset.FetchRows
016f203d Project1.exe ZAbstractRODataset 2534 TZAbstractRODataset.GetRecord
0134115e Project1.exe Data.DB TDataSet.GetRecord
01342014 Project1.exe Data.DB TDataSet.GetNextRecord
013425e4 Project1.exe Data.DB TDataSet.GetNextRecords
01341d39 Project1.exe Data.DB TDataSet.SetBufferCount
01341e58 Project1.exe Data.DB TDataSet.UpdateBufferCount
0133e386 Project1.exe Data.DB TDataSet.DoInternalOpen
0133e4a3 Project1.exe Data.DB TDataSet.OpenCursor
0133e25f Project1.exe Data.DB TDataSet.SetActive
0133e000 Project1.exe Data.DB TDataSet.Open
[...]
EZSQLException was raised with the message close all lob streams before closing the resultset
Stack trace:
0138efca Project1.exe ZDbcResultSet 1979 TZAbstractResultSet.Close
013b7598 Project1.exe ZDbcCachedResultSet 2701 TZCachedResultSet.AfterClose
0138f056 Project1.exe ZDbcResultSet 1993 TZAbstractResultSet.Close
016e0470 Project1.exe ZAbstractDataset 441 TZAbstractRWDataSet.InternalUnPrepare
016f6e86 Project1.exe ZAbstractRODataset 4095 TZAbstractRODataset.SetPrepared
016f99b6 Project1.exe ZAbstractRODataset 5266 TZAbstractRODataset.Unprepare
016efbf8 Project1.exe ZAbstractRODataset 1684 TZAbstractRODataset.Destroy
016dfe88 Project1.exe ZAbstractDataset 296 TZAbstractRWDataSet.Destroy
016e2808 Project1.exe ZAbstractDataset 1044 TZAbstractRWTxnSeqDataSet.Destroy
016e2dbf Project1.exe ZAbstractDataset 1135 TZAbstractRWTxnUpdateObjDataSet.Destroy
00dee775 Project1.exe System TObject.Free
00fbc3ca Project1.exe System.Classes TComponent.DestroyComponents
00fbbbba Project1.exe System.Classes TComponent.Destroy
011b4857 Project1.exe Vcl.Controls TControl.Destroy
011bbb76 Project1.exe Vcl.Controls TWinControl.Destroy
0115df5e Project1.exe Vcl.Forms TScrollingWinControl.Destroy
[...]