Orcl:Query-Database Function Does Not Throw an Error if The Table or View Does Not Exist
(Doc ID 1182625.1)
Last updated on MARCH 27, 2020
Applies to:
Oracle SOA Suite - Version 11.1.1.3.0 to 11.1.1.3.0 [Release 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:<USERNAME>/<PASSWORD>@localhost:1521:oraXE')"/>
Expecting to see error: ORA-00942: 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:<USERNAME>/<PASSWORD>@localhost:1521:oraXE')"/>
Expecting to see error: ORA-00942: table or view does not exist.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |