question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Oracle XMLType displays '[NULL]'

See original GitHub issue

Been 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:closed
  • Created 8 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
beirtipolcommented, Jan 25, 2016

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

2reactions
sixdimensionalarraycommented, Oct 31, 2017

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: image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found