I looked at your example and it used Camel 2.11, but we are using 2.10.3
where we dont have a hibernate component.

We are using JPA component, is there any way we can use consumer.query or
consumer.nativequery or a namedquery on it to update the database. What is
the best way to update one column in a route something like this:

from(direct:input)
.to(create an update query)
.to(jpa:entity)

Can we use a parametrized UPDATE query somehow to specify the columns and
values to update?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Update-database-using-Java-DSL-JPA-tp5728463p5728601.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to