XMLTABLE Join Failed With ORA-32582 After Upgrade To 11.2.0.4 From 11.2.0.2 PSU11 (Doc ID 1667872.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

On : 11.2.0.4 version, XML Database

XMLTABLE join failed with ORA-32582 after upgrade to 11.2.0.4 from 11.2.0.2 PSU11

some business queries began to fail after upgrade to 11.2.0.4.
SQL> select
  2 xtab.releaseLines
  3 FROM XMLTABLE('sample/Releases/Release'
  4 PASSING xmltype('')
  5 COLUMNS allotmentId number PATH '@AllotmentId',
  6 releaseLines xmltype PATH '.'
  7 )xtab,
  8 (select null od_stockunitid, null gd_stocktypesubservicecode from dual) cu,
  9 (select 1 XMLUnitid, 2 StockUnitID ,3 Subservice from dual) XML_UNIT
 10 where
 11 XML_UNIT.XMLUnitid (+) = xtab.allotmentId
 12 AND XML_UNIT.StockUnitID = cu.od_stockunitid (+);
  (select null od_stockunitid, null gd_stocktypesubservicecode from dual) cu,
  *
ERROR at line 8:
ORA-32582: table function with left correlation to a table cannot also be left outer-joined to the table

They were running fine with 11.2.0.2 PSU 11

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms