Eclipselink Migration:Named Query of SQL Type Throws IndexOutOfBoundsException
(Doc ID 1984429.1)
Last updated on MARCH 18, 2019
Applies to:Oracle TopLink - Version 22.214.171.124 to 126.96.36.199.0 [Release 12c]
Information in this document applies to any platform.
In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
This issue can occur when migrating from TopLink 10.1.3.x to EclipseLink 2.4.2/EclipseLink 2.5.2. An application has Named Queries of SQL type, all of them work fine in TopLink, but throw an exception with EclipseLink.
Example Query in the workbench, where Address is a simple object with 5 attributes and no relationships:
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