0 Replies Latest reply on Jan 17, 2013 8:20 AM by jasonnh

    camel-jpa queries with parameters?

    jasonnh

      Hi,

       

      Looking at the docs for camel-jpa and this post:

      http://grokbase.com/t/camel/users/09ax40mh66/jpa-how-to-pass-parameters-to-namedquery

       

      It looks like you can not use parameters with queries in camel-jpa.

       

      Does anybody know if that is still the case?

       

      From the latest code:

      org.apache.camel.component.jpa.JpaConsumer.createQueryFactory()

       

      Suggests it is not possible but:

       

      org.apache.camel.component.jpa.QueryBuilder.parameters(Collection<?>)

       

      Suggests that it might be but I do not think that method is used anywhere...

       

      Thanks.