Richard,
> Does Slice support JPQL queries?
Yes, it does. In fact, most of the testing is done on JPQL queries.
Can you experiemt with following choices:
Expt 1. Replace the offending named query with the equivalent JPQL
directly.
Expt 2. Deactivate Prepared Query cache i.e.
<property name="openjpa.jdbc.QuerySQLCache" value="false"/>
Let me know if you see any difference.
I will see if I can reproduce the reported problem.
-----
Pinaki
--
View this message in context:
http://openjpa.208410.n2.nabble.com/Slice-closing-EntityManager-on-named-queries-tp6292434p6298747.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.