Oracle XMLType displays '[NULL]'
See original GitHub issueBeen chasing my tail all morning because I thought our DB was messed up.
Running this from DBEAVER
select XMLType('<IAmXML>Really I Am</IAmXML>') from dual;
shows
[NULL]
but in SQLDeveloper it returns the xml
Issue Analytics
- State:
- Created 8 years ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
XMLType shown as null in SQL Developer 17.2 with OCI ...
In SQL Developer 17.2 on Windows 10 64bit, I can't view XMLTypes: they show up as null and an error is logged:
Read more >Handling nulls when using Oracle XMLType - Stack Overflow
I am using Oracle's XMLType function to get XML data from a stored procedure that returns a cursor. My SQL looks something like...
Read more >Construct an XML document with values from table rows ... - IBM
The EMPTY ON NULL and NULL ON NULL options of XMLELEMENT and XMLFOREST allow you to specify whether an empty element or no...
Read more >SQL query // Extracting from XML // getting error if no data ...
Have you tried checking if column5 is NULL in the SELECT list instead of in the WHERE clause? I presume that feeding NULL...
Read more >Including empty or null values in XML files - Stambia.org
Null value will return the real null value. Including empty values. Empty values can be set in the mapping expression with two single...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I suggest you make this requirement explicit to users, because it’s not clear that there are missing jars, and it appears that the data in the database is different to what it actually is
I just wanted to add, I still needed to add xmlparsev2.jar for the XML features to work, even using the latest Oracle 12.2.0.1 JDBC drivers. I was able to grab a copy of it from my SQL Developer installation.
This was the list I needed: