You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jeremy Bauer (JIRA)" <ji...@apache.org> on 2010/02/25 18:04:27 UTC
[jira] Commented: (OPENJPA-1537) SchemaGenerator interacts poorly
with InformixDictionary (regression from 1.2.2)
[ https://issues.apache.org/jira/browse/OPENJPA-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838415#action_12838415 ]
Jeremy Bauer commented on OPENJPA-1537:
---------------------------------------
Thanks for reporting this bug, Laird. There were many naming/identifier related changes from 1.2.x to 2.0/trunk. I'll take a look at it within the next day or two.
> SchemaGenerator interacts poorly with InformixDictionary (regression from 1.2.2)
> --------------------------------------------------------------------------------
>
> 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
> Assignee: Jeremy Bauer
>
> 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.