I have a new database here, and the updated version from Oracle 10g to Oracle 11g - the main problem is the LOB columns, and every time any function returns LOB as a result, the new database will not return rows like the old one did:
Old DB:
["C"]=> string(23) "3874163,3874197,3874201"
New DB:
["C"]=> resource(182) of type (stream)
Now when reading threads, sometimes an error occurs for a non-existent resource of the referenced stream, and everything fails. I assume that the connection is closed in the meantime if the stream is not being read, and therefore access is lost.
When changing statements, enable casting against varchar, for example:
CONVERT(VARCHAR, C, 120)
Or like this:
SELECT TO_CHAR(FUNC())
The value is returned as a string again, but this is not a very optimal solution, since each statement must be changed.
Is there a way / option to prevent the delivery of large objects to threads so that they are sent as strings, for example, in Oracle 10g?
Edit:
We use the oci feature set to access db.
source share