openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <ljnel...@gmail.com>
Subject XMLSchemaSerializer outputs double quotes
Date Thu, 25 Feb 2010 01:49:35 GMT
I'm in the process of upgrading my OpenJPA-based tools from OpenJPA 1.2.2 to
2.0.  It is extremely painful and full of all sorts of backwards
incompatibilities.

Once I have rebuilt my code to account for the API changes (mostly in the
area of DBIdentifiers), I now find that schemas are being serialized with
double quotes.

That is, if I hook a SchemaGenerator up to my database, and then use an
XMLSchemaSerializer to process its SchemaGroup, the XML schemas that are
output now contain things like this:

<schemas>
    <schema name="informix">
        <table name="WEBTRANS_TABLE">
            <column name="&quot;twebtrans&quot;" type="char" not-null="true"
default="" size="8"/>


...where previously they contained:

<schemas>
    <schema name="informix">
        <table name="webtrans_table">
            <column name="twebtrans" type="char" not-null="true" default=""
size="8"/>

Consequently, any reverse mapping that takes place off of these schemas
blows up.

Where should I start looking to track down this problem (and file another
bug report)?

Thanks,
Laird

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message