[teiid-issues] [JBoss JIRA] (TEIID-4596) Teiid does not return genereted keys after executeBatch

Juraj Duráni (JIRA) issues at jboss.org
Fri Dec 2 01:30:00 EST 2016


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

Juraj Duráni commented on TEIID-4596:
-------------------------------------

[~rareddy] Yes, it works for single statement.
Regarding adding limitation to documentation - that's what I suggest in the description.

> Teiid does not return genereted keys after executeBatch
> -------------------------------------------------------
>
>                 Key: TEIID-4596
>                 URL: https://issues.jboss.org/browse/TEIID-4596
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Documentation
>            Reporter: Juraj Duráni
>            Assignee: Ramesh Reddy
>            Priority: Minor
>
> Currently, Teiid does not return genereted keys after inserting value using PreparedStatement.executeBatch() method. JDBC ([4.1|http://download.oracle.com/otndocs/jcp/jdbc-4_1-mrel-spec/index.html]) does not require this :
> {quote}
> It is implementation-defined as to whether _getGeneratedKeys_ will return generated values  after invoking the _executeBatch_ method.
> {quote}
> However, it would be nice to have this behavior documented - https://teiid.gitbooks.io/documents/content/client-dev/JDBC_Support.html



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the teiid-issues mailing list