db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sunil (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DDLUTILS-192) Model exception thrown when index references an undefined column
Date Thu, 23 Sep 2010 06:57:32 GMT

    [ https://issues.apache.org/jira/browse/DDLUTILS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913927#action_12913927

sunil commented on DDLUTILS-192:

Dear Thomas Dudziak

Can u send me the ddutils-1.1.jar 
please its urgent for me
b'coz i have same problem while configuring symmetricDS2.0.x version
in postgresql 8.0 and 8.2 primary key shows index as ("first column",second)
means column name in ("")
and throws the same exception

waiting for ur reply

> Model exception thrown when index references an undefined column
> ----------------------------------------------------------------
>                 Key: DDLUTILS-192
>                 URL: https://issues.apache.org/jira/browse/DDLUTILS-192
>             Project: DdlUtils
>          Issue Type: Bug
>          Components: Core (No specific database)
>    Affects Versions: 1.0
>            Reporter: Sebastian Niezgoda
>            Assignee: Thomas Dudziak
>         Attachments: Table.java
> org.apache.ddlutils.model.ModelException: The index in table references the undefined
column is thrown when referencing a column that exists but is referenced in Postgres incorrectly.
> Column type exists in a table.  In an index, however, type is stored as "type".  The
quotes ("") disallow Java from finding the column.
> The fix is simple:
> add name = name.replace("\"", ""); to the very top of findColumn(String name, boolean
caseSensitive) in  org.apache.ddlutils.model.Table

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

View raw message