Your application can use the following methods to return data stored in XML columns as character data:The driver converts the XML data returned from the database server from the character set encoding used by the database server to the UTF-16 Java String encoding.The driver converts the XML data returned from the database server from the character set encoding used by the database server to the ISO-8859-1 (latin1) encoding.
Note: The conversion caused by using the getAsciiStream() method may create XML that is not well-formed because the content encoding is not the default encoding and does not contain an XML declaration specifying the content encoding. Do not use the getAsciiStream() method if your application requires well-formed XML.
| © 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |