[
https://issues.jboss.org/browse/WFLY-11495?page=com.atlassian.jira.plugin...
]
Scott Marlow commented on WFLY-11495:
-------------------------------------
[~majidmostafavi] please describe the problem in more detail. What are you expecting to
happen and what happened instead?
Also, do you have the ["Hibernate ORM 5.1 native API bytecode transformer"
enabled|http://docs.wildfly.org/15/Developer_Guide.html#hibernate-transfo... I'm
not sure if you need that enabled but am curious if it is.
CC [~gbadner]
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 <=
--
This message was sent by Atlassian Jira
(v7.12.1#712002)