Hello

I have problem with following query:

select e from GeneralEntry as e 
where ?1 like CONCAT(e.position,'%') 
and CONCAT(?1,'%') not like e.position  
and (
(?2 = true)
or (?2 = false and e.position <> '1') 
)

openJPA doesn't accept ?1 as a left side operand !!! and if replace them my
query dosn't work right!!!

even if I replace ?1 with the position I need say, '1.2.1.3' it complains as
well


-- 
View this message in context: 
http://n2.nabble.com/query-question-tp1580062p1580062.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to