[teiid-issues] [JBoss JIRA] (TEIID-2852) Retrieval of AUTO GENERATED Keys does not work with JDBC Translator

Steven Hawkins (JIRA) issues at jboss.org
Thu Feb 13 16:07:28 EST 2014


    [ https://issues.jboss.org/browse/TEIID-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12944453#comment-12944453 ] 

Steven Hawkins commented on TEIID-2852:
---------------------------------------

Yes, the logic doesn't account for getStatement auto closing.  
                
> Retrieval of AUTO GENERATED Keys does not work with JDBC Translator 
> --------------------------------------------------------------------
>
>                 Key: TEIID-2852
>                 URL: https://issues.jboss.org/browse/TEIID-2852
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Connector
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 8.7
>
>
> Auto generation of JDBC identity keys not working because the statement that executed the insert is closed before the the "stmt.getGeneratedKeys()" is called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list