org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: FETCH near line 1

Description

DB2 database

Environment

Hibernate 5.4.17 , JPA 2.2 , The named queries have "fetch first ? rows only", which was working fine with hibernate 4

Assignee

Unassigned

Reporter

Sanjay

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major
Configure