我正在使用 Oracle 11gR2,有人能告诉我为什么临时 lob 没有被释放吗?
...
-- Apply stylesheet to DOM document
outdomdocf := dbms_xslprocessor.processxsl(proc, xsl, indomdoc);
outnode := dbms_xmldom.makenode(outdomdocf);
-- Write the transformed output to the CLOB
dbms_lob.createTemporary(outfile, true, DBMS_LOB.CALL);
dbms_xmldom.writetoCLOB(outnode, outfile);
-- Free Cursors
outXML := XMLTYPE.createXml(outfile);
dbms_lob.freeTemporary(outfile); <-- not working
...
当我做
select * from v$temporary_lobs;
它还在那里。