camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "abdelgadiri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7269) camel-jpa - joinTransaction called for RESOURCE_LOCAL datasource
Date Thu, 12 Feb 2015 10:31:12 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317963#comment-14317963
] 

abdelgadiri commented on CAMEL-7269:
------------------------------------

I have now debugged and yes the entitymanager wrapper (org.springframework.orm.jpa.ExtendedEntityManagerCreator.java)
is checking whether JTA is being used in which case it joins the transaction else it calls
entityManager.getTransaction().begin()

Thank you for your help.


> camel-jpa - joinTransaction called for RESOURCE_LOCAL datasource
> ----------------------------------------------------------------
>
>                 Key: CAMEL-7269
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7269
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jpa
>    Affects Versions: 2.12.0
>         Environment: tomcat+eclipselink+camel 2.12.2
>            Reporter: Hristo Sabev
>            Assignee: Grzegorz Grzybek
>             Fix For: Future
>
>
> At line 82, JpaConsumer calls entityManager.joinTransaction(). This call cannot really
work in environmnent without JTA. This is a change since 2.11.x and earlier versions where
non JTA environments were supported



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message