My Oracle Support Banner

NullPointerException When Result-Set-Mapping Element Is Not Present (Orm.Xml) (Doc ID 947828.1)

Last updated on JANUARY 30, 2022

Applies to:

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

Symptoms

In the orm.xml file a native named query  is defined as  :


This problem does not occur when the native query is defined with the (option) result-set-mapping attribute:
<named-native-query name="<QueryName>" result-set-mapping="package.employeeEntity" >


.

Changes

 

Cause

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
Symptoms
Changes
Cause
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.