You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by devgrok <gi...@git.apache.org> on 2015/03/03 04:01:30 UTC

[GitHub] camel pull request: CAMEL-8054: jpa shared entity manager

GitHub user devgrok opened a pull request:

    https://github.com/apache/camel/pull/417

    CAMEL-8054: jpa shared entity manager

    When using JpaTransactionManager it "Binds a JPA EntityManager from the specified factory to the thread". Meaning that on top of the EntityManager created for each JpaConsumer, each time it creates a new EntityManager.
    
    New property:
    sharedEntityManager - whether to use spring's SharedEntityManager for the consumer/producer. Sets joinTransaction=false
    
    Also added as a property to the JpaComponent.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/devgrok/camel feat/jpa-sharedEntityManager

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/417.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #417
    
----
commit 37871e49bb4ab8f9514330def612c93dbf8e0488
Author: Chris Watts <wa...@anz.com>
Date:   2014-12-14T15:52:48Z

    CAMEL-8054: sharedEntityManager for 2.14

commit 010b19ded6a64136970cd9cc71f6c7291e71eeaf
Author: Chris Watts <wa...@anz.com>
Date:   2014-12-14T16:48:27Z

    merging auto-close entitymanager bugs

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request: CAMEL-8054: jpa shared entity manager

Posted by devgrok <gi...@git.apache.org>.
Github user devgrok closed the pull request at:

    https://github.com/apache/camel/pull/417


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---