[teiid-issues] [JBoss JIRA] (TEIID-4990) Embedded Teiid with JPA layer Transaction Management detection

Ramesh Reddy (JIRA) issues at jboss.org
Thu Jul 13 16:44:00 EDT 2017


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

Ramesh Reddy resolved TEIID-4990.
---------------------------------
    Resolution: Done


Added new scope called INHERITED to handle the transaction detected on the thread.

> Embedded Teiid with JPA layer Transaction Management detection
> --------------------------------------------------------------
>
>                 Key: TEIID-4990
>                 URL: https://issues.jboss.org/browse/TEIID-4990
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 9.0
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 10.0
>
>
> When Embedded Teiid used with JPA layer, the JPA layer manages the transaction boundaries. Teiid does detect the ongoing transaction and mark it has the GLOBAL transaction, however in this case JPA layer does not enlist embedded as a participating source (this is not required either).  This results, where embedded connection gets closed before any commit is called.
> However, when the session close is called, Teiid proactively tries to close the transaction, which is not correct.



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


More information about the teiid-issues mailing list