Hello Everyone,

I'm looking for a way to do something like this:
....
to("jpa://com.domain.MyEntity?consumer.query=select x from
com.domain.MyEntity e where e.processDate < ?", new Date())
...
I mean I need a way to pass objects as query parameters. In this case what
I'm trying to do is that each time the jpa endpoint its called it executes a
query which selects the entities that has a processDate that is before or
equal to the current moment.
Is there a simple way to do this?
Thanks!





--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JPA-Parameterized-Queries-tp5724046.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to