Re: camel jpa issue

2013-05-27 Thread Claus Ibsen
Are you sure there is data in the table? If there is no rows then there is now data to route. And also are you sure if there is data, that the logging level at DEBUG is being logged in your log? On Mon, May 27, 2013 at 5:21 PM, lmanchanda75 wrote: > I figured this out, the null was coming because

Re: camel jpa issue

2013-05-27 Thread lmanchanda75
Hi Claus, Thanks. It was the problem. I figured out that I was not using consumeDelete=false. Meanwhile I think that by default consumeDelete should be false than true, as a small mistake can cause data loss in production. Regds Lalit -- View this message in context: http://camel.465427.n5.

Re: camel jpa issue

2013-05-27 Thread lmanchanda75
I figured this out, the null was coming because of me not defining any attribute as @Id in PurchaseOrder entity. But now when I run this, it goes in a loop of the following, without moving to next point it route (log). See if anybody can help me on this. 20:43:50,204 | DEBUG | pa.PurchaseOrder |