Re: how to execte jdbc IN clause statement

2014-11-23 Thread chaituu
i have written custom prepared strategy,how to set parameter for ids' in update query public class CustomPrepareStatementStrategy extends org.apache.camel.component.jdbc.DefaultJdbcPrepareStatementStrategy { private static final transient Logger LOG = Logger.g

Re: how to execte jdbc IN clause statement

2014-11-23 Thread Claus Ibsen
Hi The IN is not supported. I am not sure how this would work out, as then you can likely not use prepared statements, but have to fallback to a standard SQL, and then build the query dynamic. Then the IN should be expanded, as N1, N2, N3 etc. So there is some work to do this, and also safely de

Re: how to execte jdbc IN clause statement

2014-11-23 Thread David Karlsen
You can still run a prepared statement - but the db-server will have to parse and compile the different versions (one per length variant of the list). http://www.javaranch.com/journal/200510/Journal200510.jsp#a2 2014-11-23 17:25 GMT+01:00 Claus Ibsen : > Hi > > The IN is not supported. I am not s

Re: Quartz job data deletion in clustered quartz2

2014-11-23 Thread lakshmi.prashant
Hi Willem, Scheduler is not created from outside, but on deployment of camel blueprint bundles. But the scheduler jobs are not deleted on un-deployment of the camel bundles, in clustered mode and this is what needs to be handled - while taking care of durable jobs and job recovery'. Thanks, La

Re: POJO binding with the Rest DSL

2014-11-23 Thread Tim Dudgeon
Yes, I understand that, and got it working that way. I had misunderstood where the POJO binding fitted in. Thanks for your help. Tim On 22/11/2014 09:27, Claus Ibsen wrote: Hi The rest DSL is on the other side, eg on the server side, to exposes Camel routes as REST services. Not on the client