camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Borut BolĨina <>
Subject Updating database records with Java DSL JPA component
Date Thu, 29 Mar 2012 12:09:33 GMT

I do not dare to hope there is a one liner in Java DSL using JPA component
to update records such as:


I am successfully ADDING the records, but I want to update them. Let's say
there was an imaginary option 'unique' as above , so
the underlying machinery could update the record based on given unique db

But what about now - how is camel solving this pretty much common problem?

Just to be sure I am clearly explaining things: I will periodically produce
a set of Weather pojos and one field will hold an id and based on this id
which is also in the corresponding db table (not primary key), the data
should be updated (overwritten).


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message