"The call to entityManager.createQuery(criteriaQuery) fails when executed more then once for a CriteriaQuery containing a Like-predicate with a pattern parameter and an escape character literal." / Conversion of CriteriaQuery to TypedQuery with Like predicate and escape character fails when repeated