Message "Unexpected error during processing: query result offset is not supported" when running REST API query with pageSize parameter due to the Hibernate version that is packaged with RHPAM

Solution Unverified - Updated -

Issue

  • Message Unexpected error during processing: query result offset is not supported when running REST API query with pageSize parameter;

  • The following REST API does not work due to Hibernate issue HHH-10498:

    curl -X GET "http://<server>/kie-server/services/rest/server/queries/tasks/instances/test?status=Created&status=Ready&status=Reserved&groups=&user=test&page=2&pageSize=10&sortOrder=true
    
  • How to override the default version of the Hibernate jar used by the Process Server i.e. from 5.1.10.Final-redhat-1 to 5.2.17.Final?

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7.0.1
  • IBM DB2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content