Last updated on AUGUST 19, 2015
Applies to:Oracle TopLink - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
When following the "FirstResult/MaxRows" sample for pagination on JPA, available here. It is needed to set the parameter "eclipselink.target-database"
in file "persistence.xml" to a supported database. When this parameter is set to "Oracle" the query generated for pagination includes the SQL hint /* +FIRST_ROWS */ as in the example.
When the parameter is set to "Oracle11" (DB is Oracle 11g), the SQL hint is not included.
How to get the hint using Oracle11 as target database?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms