]
Scott Marlow resolved WFLY-11495.
---------------------------------
Resolution: Incomplete Description
Feedback requested regarding trying the
[
] to see if that
helps. Please reopen after you have tried using the application deployment transformer.
WildFly 14-15 Create Query
--------------------------
Key: WFLY-11495
URL:
https://issues.jboss.org/browse/WFLY-11495
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 14.0.1.Final, 15.0.0.Final
Reporter: Majid Mostafavi
Assignee: Scott Marlow
Priority: Major
Hi
When I use this syntax for create lazy data loader
CriteriaBuilder builder = entityManager.getCriteriaBuilder();
CriteriaQuery<{color:#DE350B}X{color}> criteria =
builder.createQuery({color:#DE350B}X{color}.class);
Root<{color:#DE350B}XDTO{color}> xRoot = criteria.from(XDTO.class);
.
.
.
.
criteria.where(predicate);
Query queryResult=entityManager.createQuery(criteria);
queryResult.setFirstResult(first);
if (pageSize > 0){
queryResult.setMaxResults(pageSize);
}
wildfly create query by this syntax
select
*
from ( {color:#14892c}select dto item1, select dto item2 from Xroot {color} )
where
rownum <=