It's a bug.
OpenJPA translates a JPQL query Q to target SQL query S for the first
execution. Any subsequent execution of Q bypasses the SQL generation and
directly uses S. There is significant performance advantage (because Q to S
translation is quite costly). One of the key aspect of reusing the target
SQL is to rebind the query parameters -- and the rebinding path does have
known bugs.

  I will take a look at your use case. What is the type of I.category?  

-----
Pinaki 
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/Strange-warnings-about-query-parameters-tp5431171p5432091.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to