Thank you very much for your reply.
I do not think it has anything to do with JPA. I tried the options you suggested but still did not work.
But now I changed my query a little but I am joining the task, with variables explicitly then it works.
Reply to this message by going to Community
Start a new discussion in jBPM at Community