My Oracle Support Banner

How To Remove FIRST_ROWS Hint From Toplink JPA Queries When It Performs Bad (Doc ID 1471029.1)

Last updated on JANUARY 12, 2018

Applies to:

Oracle TopLink - Version 11.1.1.0.1 and later
Information in this document applies to any platform.

Goal

When a Toplink JPA paged query creates SQL, it adds a FIRST_ROWS hint to the SQL query.
With the FIRST_ROWS hint, however, the database execution plan is observed worse than without it.
So, how can the FIRST_ROWS query be avoided from the SQL query?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.