в Экране есть загрузчик:
<loader id="quantityIndicatorsDl">
<query>
<![CDATA[select e from wp_QuantityIndicator e where e.username is null]]>
<condition>
<or>
<c:jpql>
<c:where>e.username = :current_user_username</c:where>
</c:jpql>
</or>
</condition>
</query>
</loader>
Здесь стоит condition or
но JpaDataStore создает query
с and