How To Remove FIRST_ROWS Hint From Toplink JPA Queries When It Performs Bad
Last updated on JANUARY 12, 2018
Applies to:Oracle TopLink - Version 184.108.40.206.1 and later
Information in this document applies to any platform.
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?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms