[teiid-issues] [JBoss JIRA] (TEIID-1946) After changing model to replace primary key with a unique key, the deployment of the vdb errors saying PrimaryKey does not exist

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Wed Feb 15 13:47:36 EST 2012


     [ https://issues.jboss.org/browse/TEIID-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins reassigned TEIID-1946:
-------------------------------------

    Assignee: Steven Hawkins

    
> After changing model to replace primary key with a unique key, the deployment of the vdb errors saying PrimaryKey does not exist
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TEIID-1946
>                 URL: https://issues.jboss.org/browse/TEIID-1946
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 7.4
>            Reporter: Van Halbert
>            Assignee: Steven Hawkins
>             Fix For: 7.7
>
>         Attachments: dummy-ds.xml, server.log, Trade.vdb
>
>
> In designer, I removed a primary key and replaced it with a unique key, and changed the foreign key to now reference the unique key, and all built with no errors.  When deploying vdb to server, you see this exception (partial, see attachment for full log):
> Caused by: mmuuid:15f67b60-e387-4092-bbc5-0b7726585f52 PrimaryKey  does not exist.
> 	at org.teiid.metadata.index.IndexMetadataFactory.getPrimaryKey(IndexMetadataFactory.java:353)
> 	at org.teiid.metadata.index.IndexMetadataFactory.getTables(IndexMetadataFactory.java:295)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list