Hello,
  1. call toString() on the CriteriaQuery instance you are executing. And
post the string.
  2. If possible, post the code that builds the CriteriaQuery

OpenJPA runtime represents an empty expression node in the query expression
tree as 1 = 1 or 1 <> 1 for conjunction or disjunction. Seeing the query
expression tree will help us to know how an empty expression node is getting
inserted.


-----
Pinaki 
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Criteria-API-AND-1-1-in-WHERE-Clause-tp6373899p6386782.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to