What I am trying to do is :

I have inline sql in the java code,so we want to move these sql to store proc for better performance.

Instead of inline sql we will call store proc but problem is...