My Oracle Support Banner

How To Avoid Pretty Print when using SQLXML GetString (Doc ID 2165862.1)

Last updated on JULY 27, 2016

Applies to:

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

Goal

How to avoid pretty printing when using GetString in JDBC

xmlType = (SQLXML)resultSet.getObject(34);
if (xmlType != null) {
element.setDescriptors(xmlType.getString());
};


 

Solution

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
Goal
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.