[GitHub] camel pull request #1124: CAMEL-10245 JPA detached entity fix

2016-08-16 Thread bgaudaen
Github user bgaudaen closed the pull request at:

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


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] camel pull request #1124: CAMEL-10245 JPA detached entity fix

2016-08-15 Thread bgaudaen
GitHub user bgaudaen opened a pull request:

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

CAMEL-10245 JPA detached entity fix

Fixed JpaProducer when removing an entity that is not attached to current 
persistence context

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

$ git pull https://github.com/bgaudaen/camel jpa-detached-entity-fix

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

https://github.com/apache/camel/pull/1124.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 #1124


commit 10d5186f5e8a56371bad98307623f85c42273d35
Author: Bob Gaudaen 
Date:   2016-08-15T14:25:04Z

CAMEL-10245 Updated JpaProducerRemoveTest to remove previously persisted 
entity instead of new entity

commit f8e5bba6faa0b644867752564a28e5bf8f5f4c81
Author: Bob Gaudaen 
Date:   2016-08-15T14:31:30Z

CAMEL-10245 Fixed JpaProducer remove feature

Check if entity is managed in current persistence context and merge if 
needed before removing.




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---