This content has been marked as final.
Show 4 replies
-
1. Re: camel-hibernate insert's the data rather then fetch
john-liptak May 30, 2017 12:30 AM (in response to sarada.ch)to: will insert from: will select/delete
-
2. Re: camel-hibernate insert's the data rather then fetch
sarada.ch May 30, 2017 12:37 AM (in response to john-liptak)So my understanding is that it doesn't matter what your consumer.namedQuery is?
There is no where mentioned this in camel-hibernate document
-
3. Re: camel-hibernate insert's the data rather then fetch
john-liptak May 30, 2017 1:00 AM (in response to sarada.ch)>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:
-
4. Re: camel-hibernate insert's the data rather then fetch
sarada.ch May 30, 2017 1:04 AM (in response to john-liptak)Thanks a lot John.