[ https://issues.apache.org/jira/browse/CAMEL-8855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984917#comment-15984917 ]
Can Del edited comment on CAMEL-8855 at 4/26/17 2:38 PM: --------------------------------------------------------- This issue was succesfully resolved but the documentation was not updated. Please add this tag to the documentation on https://camel.apache.org/jpa.html !!! was (Author: caranthir): This issue was succesfully resolveed but the documentation was not updated. Please add this tag to the documentation on https://camel.apache.org/jpa.html !!! > camel-jpa - Add support for JPA producer to delete records > ---------------------------------------------------------- > > Key: CAMEL-8855 > URL: https://issues.apache.org/jira/browse/CAMEL-8855 > Project: Camel > Issue Type: New Feature > Components: camel-jpa > Affects Versions: 2.15.2 > Reporter: Tadayoshi Sato > Assignee: Andrea Cosentino > Fix For: 2.16.0 > > > Currently, camel-jpa producer > {code:java} > to("jpa:MyEntity?...") > {code} > can only invoke {{EntityManager.persist()}} or {{EntityManager.merge()}}, but > sometimes users want to send JPA entities to camel-jpa producer to delete > them from the database, i.e. invoke {{EntityManager.remove()}}. > Maybe, introducing {{remove}} option to JPA producer is sufficient like this: > {code:java} > to("jpa:MyEntity?remove=true") > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)