You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Laird Nelson <lj...@gmail.com> on 2010/02/25 02:49:35 UTC
XMLSchemaSerializer outputs double quotes
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=""twebtrans"" 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