openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENJPA-2169) TestOracleXmlColumn test failed using Oracle 11.2 driver
Date Mon, 02 Apr 2012 20:55:25 GMT
TestOracleXmlColumn test failed using Oracle 11.2 driver
--------------------------------------------------------

                 Key: OPENJPA-2169
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2169
             Project: OpenJPA
          Issue Type: Test
          Components: jdbc
    Affects Versions: 2.2.0, 2.3.0
            Reporter: Albert Lee
            Assignee: Albert Lee
            Priority: Minor
             Fix For: 2.3.0, 2.2.1


TestOracleXmlColumn test failed using Oracle 11.2 driver.

In Oracle 10, if xml data in a flat string stored in a xml column

<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd"></project>

when retrieve from the db, it returns the exact format. However in Oracle 11.2, the string
is reformatted to:

<?xml version="1.0" encoding="UTF-8"?>\n
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"/>\n


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message