Could it have a relation to OPENJPA-2282 ? ( LIKE WITH ESCAPE)

here too , escape is used.

jpql statement boils down to

openjpa.jdbc.SQL - <t 994682772, conn 1389561565> executing prepstmnt
1898280583 SELECT COUNT(t0.ID) FROM APP.testCountWithDate t0 WHERE
(LOWER(CAST(t0.NAME AS VARCHAR(1000))) LIKE ? ESCAPE '\' AND t0.ADATE = {d
'2007-12-12'}) [params=?]



--
View this message in context: 
http://openjpa.208410.n2.nabble.com/jira-Created-OPENJPA-2286-SELECT-COUNT-with-date-litteral-used-more-than-once-provokes-ArgumentExcepw-tp7581522p7581523.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Reply via email to