Orcl:Query-Database Function Does Not Throw an Error if The Table or View Does Not Exist (Doc ID 1182625.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle SOA Platform - Version: 11.1.1.3.0 to 11.1.1.3.0 - Release: 11gR1 to 11gR1
Information in this document applies to any platform.

Symptoms


orcl:query-database function does not throw an error if the table or view does not exist.

No exception is thrown by the following statement (the table xyz does not exist):
 
<xsl:variable name='v_result' select="oraext:query-database('Select col from
xyz',true(),true(),'jdbc:oracle:thin:scott/tiger@localhost:1521:oraXE')"/>

Expecting to see error: ORA-00942: table or view does not exist.


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