Basic JPA querying works fine:
Query query = em.createQuery("SELECT p FROM Patient p where
p.lastname=:lastname");
query.setParameter("lastname", "Silver");
List<Patient> patients = query.getResultList();
I checked OPENJPA-2056. We have standard_conforming_strings property in
Postgresql set to OFF.
I also included this in my persistence.xml, as suggested in the article:
<property name="openjpa.jdbc.DBDictionary"
value="postgres(SearchStringEscape=\)"/>
But it had no affect.
You mentioned calling CriteriaBuilder.equal to bypass the LIKE issue, but if
CriteriaBuilder is being used internally by CXF, how could I bypass this
and use it directly in my code?
--
View this message in context:
http://cxf.547215.n5.nabble.com/FIQL-error-unterminated-quoted-string-at-or-near-tp5733495p5733530.html
Sent from the cxf-user mailing list archive at Nabble.com.