openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laird Nelson (JIRA)" <>
Subject [jira] Created: (OPENJPA-1537) SchemaGenerator interacts poorly with InformixDictionary
Date Thu, 25 Feb 2010 15:52:28 GMT
SchemaGenerator interacts poorly with InformixDictionary

                 Key: OPENJPA-1537
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc, sql
    Affects Versions: 2.0.0-beta
            Reporter: Laird Nelson

If you ask the SchemaGenerator to generate schemas like this:

sg.generateSchemas(new DBIdentifier[] { DBIdentifier.newTable("informix.foobar_table") });

...then identifiers within the SchemaGenerator--whether of tables, primary keys, foreign keys,
what have you--contain quotes.

Quoted identifiers are then subsequently not trimmed, because the space padding occurs inside
the quotes.

This means the SchemaGroup will, for example, never find the Schema identified by the user
at generateSchemas()-call-time.  Consequently no foreign keys will be generated.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message