to: will insert from: will select/delete
So my understanding is that it doesn't matter what your consumer.namedQuery is?
There is no where mentioned this in camel-hibernate document
>From the docs:
Sending POJOs to the hibernate endpoint inserts entities into the database. The body of the message is assumed to be an entity bean that you have mapped to a relational table using the hibernate .hbm.xml files
The query would matter if it were a from:
Thanks a lot John.