SchemaGenerator interacts poorly with InformixDictionary
--------------------------------------------------------

                 Key: OPENJPA-1537
                 URL: https://issues.apache.org/jira/browse/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.

Reply via email to