thanks, it worked.

But this is my other question, is it ok to write that logic in the Entity
bean class? or should this logic be part of the class where the route is
defined. Asking, so that I am following best practices.

Since I am already here, I will ask the next question: Say I have table A
and table B

Now I need to update one of the column in table B with a value that I get
from table A. To be exact, so based on some criteria I need to pull a column
value in table A, then take that column value and update a column in table B
with the value I pulled from table A.



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

Reply via email to