[teiid-issues] [JBoss JIRA] (TEIID-5794) GENERATED_KEY function in an input trigger results in validation error if used in presence of a compound primary key which consists of a mix of auto-increment and non-auto-increment variables

Christoph John (Jira) issues at jboss.org
Wed Jul 17 14:44:02 EDT 2019


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

Christoph John updated TEIID-5794:
----------------------------------
    Summary: GENERATED_KEY function in an input trigger results in validation error if used in presence of a compound primary key which consists of a mix of auto-increment and non-auto-increment variables  (was: GENERATED_KEY function results in validation error if used in presence of a compound primary key which consists of a mix of auto-increment and non-auto-increment properties)


> GENERATED_KEY function in an input trigger results in validation error if used in presence of a compound primary key which consists of a mix of auto-increment and non-auto-increment variables
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TEIID-5794
>                 URL: https://issues.jboss.org/browse/TEIID-5794
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 12.3
>            Reporter: Christoph John
>            Assignee: Steven Hawkins
>            Priority: Blocker
>
> The issue refers to 
> https://issues.jboss.org/browse/TEIID-5782 where if was found, that
> the GENERATED_KEY function does result in an validation error
> validation error: TEIID31119 Symbol key.fkProduct is specified with an unknown group context
>  in an INSERT trigger when the view on which the insert is called has a compound primary key which consists of a mix of AUTO_INCREMENT and non-AUTO_INCREMENT variables.
> A  code example can be found in the following comment
> https://issues.jboss.org/browse/TEIID-5782?focusedCommentId=13759345&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13759345



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list